Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007837/0.007837, allocations: 105 kB / 15.74 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 198.2 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.404/2.404, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7213/0.7226, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008728/0.7314, allocations: 6.814 MB / 1.214 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004935/0.7363, allocations: 3.067 MB / 1.217 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.737, allocations: 27.81 kB / 1.217 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.7395, allocations: 0.9453 MB / 1.218 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.7407, allocations: 0.5089 MB / 1.218 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.7418, allocations: 442.7 kB / 1.219 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.7433, allocations: 1.232 MB / 1.22 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009984/0.7443, allocations: 0.6606 MB / 1.221 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007369/0.7451, allocations: 478.3 kB / 1.221 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008063/0.7459, allocations: 0.5175 MB / 1.222 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.7461, allocations: 68 kB / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007449/0.7468, allocations: 379.2 kB / 1.222 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003598/0.7472, allocations: 315.1 kB / 1.222 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005773/0.7478, allocations: 449.7 kB / 1.223 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.7492, allocations: 1.226 MB / 1.224 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7492, allocations: 4 kB / 1.224 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7493, allocations: 0 / 1.224 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.105e-05/0.7493, allocations: 0 / 1.224 GB, free: 12.41 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002235/0.7515, allocations: 1.165 MB / 1.225 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7516, allocations: 8.031 kB / 1.225 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.7518, allocations: 114.7 kB / 1.225 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.7534, allocations: 247.4 kB / 1.225 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.7545, allocations: 0.6076 MB / 1.226 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.7546, allocations: 49.69 kB / 1.226 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.7547, allocations: 64.36 kB / 1.226 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.7562, allocations: 1.081 MB / 1.227 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.7562, allocations: 11.88 kB / 1.227 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.7563, allocations: 31.98 kB / 1.227 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.7564, allocations: 85.25 kB / 1.227 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.7575, allocations: 0.7543 MB / 1.228 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.7624, allocations: 5.874 MB / 1.234 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000908/0.7633, allocations: 0.5555 MB / 1.234 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.7637, allocations: 326 kB / 1.235 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.7638, allocations: 4.438 kB / 1.235 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.7638, allocations: 43 kB / 1.235 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.7638, allocations: 0 / 1.235 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.003629/0.7674, allocations: 1.986 MB / 1.237 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.7675, allocations: 55.84 kB / 1.237 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.7681, allocations: 0.5626 MB / 1.237 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.992e-05/0.7681, allocations: 41.7 kB / 1.237 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.7684, allocations: 414.9 kB / 1.238 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.7685, allocations: 177.5 kB / 1.238 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.7687, allocations: 122.5 kB / 1.238 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7688, allocations: 382.7 kB / 1.238 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.7692, allocations: 273.8 kB / 1.239 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.7697, allocations: 493 kB / 1.239 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009556/0.7707, allocations: 0.8171 MB / 1.24 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7707, allocations: 0 / 1.24 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00172/0.7724, allocations: 1.083 MB / 1.241 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.7725, allocations: 12.03 kB / 1.241 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7725, allocations: 8 kB / 1.241 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007893/0.7733, allocations: 275.2 kB / 1.241 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.7737, allocations: 127.8 kB / 1.241 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006399/0.7802, allocations: 7.133 MB / 1.248 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.7807, allocations: 35.97 kB / 1.248 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.7807, allocations: 28 kB / 1.248 GB, free: 1.84 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003117/0.781, allocations: 253.5 kB / 1.249 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.7812, allocations: 75.14 kB / 1.249 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.7826, allocations: 0.8848 MB / 1.25 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.7826, allocations: 4 kB / 1.25 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.7826, allocations: 4 kB / 1.25 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.7827, allocations: 7.922 kB / 1.25 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.7853, allocations: 1.733 MB / 1.251 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.7853, allocations: 11.88 kB / 1.251 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.7856, allocations: 59.89 kB / 1.251 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007141/0.7863, allocations: 271.2 kB / 1.252 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.7863, allocations: 8 kB / 1.252 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006028/0.7924, allocations: 7.11 MB / 1.259 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7924, allocations: 0 / 1.259 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.7938, allocations: 0.9873 MB / 1.259 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.7941, allocations: 200.2 kB / 1.26 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.7942, allocations: 11.94 kB / 1.26 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.7946, allocations: 31.97 kB / 1.26 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.7947, allocations: 43.94 kB / 1.26 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.7947, allocations: 12 kB / 1.26 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004141/0.7951, allocations: 387.1 kB / 1.26 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7951, allocations: 0 / 1.26 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007502/0.7959, allocations: 224 kB / 1.26 GB, free: 4.793 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001738/0.7976, allocations: 1.544 MB / 1.262 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.7996, allocations: 1.283 MB / 1.263 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7996, allocations: 0 / 1.263 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.8008, allocations: 0.8933 MB / 1.264 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00097/0.8018, allocations: 235.3 kB / 1.264 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007834/0.8096, allocations: 6.375 MB / 1.27 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.8102, allocations: 1.013 MB / 1.271 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003573/0.8105, allocations: 129.9 kB / 1.272 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.8109, allocations: 255.3 kB / 1.272 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of SimCode: time 5.42e-07/0.8109, allocations: 0 / 1.272 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0934/0.9043, allocations: 17.79 MB / 1.289 GB, free: 7.094 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.28, allocations: 23.16 kB / 1.289 GB, free: 7.074 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches