Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001515/0.001515, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 195 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 66.23 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2879, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03868/0.3266, allocations: 35.13 MB / 1.098 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.3436, allocations: 9.948 MB / 1.108 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003558/0.3472, allocations: 147.3 kB / 1.108 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009648/0.3569, allocations: 3.793 MB / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00598/0.3629, allocations: 2.032 MB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005258/0.3682, allocations: 1.97 MB / 1.115 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009091/0.3773, allocations: 7.963 MB / 1.123 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01314/0.3905, allocations: 9.589 MB / 1.133 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004855/0.3954, allocations: 3.365 MB / 1.136 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005345/0.4007, allocations: 3.723 MB / 1.14 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001735/0.4025, allocations: 0.6875 MB / 1.14 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/0.4059, allocations: 1.447 MB / 1.142 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003282/0.4092, allocations: 2.616 MB / 1.144 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004626/0.4138, allocations: 3.104 MB / 1.147 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009564/0.4234, allocations: 10.31 MB / 1.157 GB, free: 14.31 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.4234, allocations: 0 / 1.157 GB, free: 14.31 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4235, allocations: 3.938 kB / 1.157 GB, free: 14.31 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002925/0.4238, allocations: 0 / 1.157 GB, free: 14.31 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01287/0.4366, allocations: 5.401 MB / 1.163 GB, free: 8.836 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4367, allocations: 12.02 kB / 1.163 GB, free: 8.824 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009729/0.4377, allocations: 0.7023 MB / 1.163 GB, free: 8.113 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/0.4422, allocations: 0.9587 MB / 1.164 GB, free: 7.148 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005018/0.4473, allocations: 2.999 MB / 1.167 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.4475, allocations: 357.9 kB / 1.167 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007249/0.4482, allocations: 468.3 kB / 1.168 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.46, allocations: 7.898 MB / 1.176 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.672e-05/0.4601, allocations: 31.72 kB / 1.176 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004873/0.4606, allocations: 212 kB / 1.176 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000496/0.4611, allocations: 369 kB / 1.176 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009534/0.4706, allocations: 5.937 MB / 1.182 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03367/0.5043, allocations: 36.21 MB / 1.217 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.5075, allocations: 2.131 MB / 1.219 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.5094, allocations: 1.481 MB / 1.221 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.957e-05/0.5094, allocations: 17.31 kB / 1.221 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.5095, allocations: 55.81 kB / 1.221 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 3.116e-06/0.5095, allocations: 0 / 1.221 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01323/0.5227, allocations: 7.544 MB / 1.228 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5228, allocations: 68.72 kB / 1.228 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.5251, allocations: 1.856 MB / 1.23 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.5252, allocations: 61.7 kB / 1.23 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001277/0.5265, allocations: 2.123 MB / 1.232 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004645/0.527, allocations: 0.5585 MB / 1.233 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005927/0.5276, allocations: 403.7 kB / 1.233 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.5277, allocations: 305.1 kB / 1.234 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.5292, allocations: 1.062 MB / 1.235 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.5311, allocations: 1.76 MB / 1.236 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/0.5349, allocations: 3.045 MB / 1.239 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.5349, allocations: 8 kB / 1.239 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006156/0.5411, allocations: 3.92 MB / 1.243 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.5411, allocations: 16.97 kB / 1.243 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.5412, allocations: 23.98 kB / 1.243 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.5435, allocations: 0.9428 MB / 1.244 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.5451, allocations: 427.3 kB / 1.244 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5123/1.057, allocations: 22.77 MB / 1.267 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/1.059, allocations: 121.9 kB / 1.267 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.06, allocations: 98.36 kB / 1.267 GB, free: 150.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002446/1.062, allocations: 1.651 MB / 1.269 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/1.062, allocations: 259.1 kB / 1.269 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/1.067, allocations: 3.261 MB / 1.272 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.067, allocations: 17.7 kB / 1.272 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/1.067, allocations: 13.25 kB / 1.272 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/1.067, allocations: 10.58 kB / 1.272 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.08, allocations: 7.554 MB / 1.279 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.08, allocations: 4.719 kB / 1.279 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/1.081, allocations: 219.1 kB / 1.28 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/1.083, allocations: 0.8889 MB / 1.28 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/1.084, allocations: 34.31 kB / 1.28 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/1.1, allocations: 22.74 MB / 1.303 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/1.1, allocations: 13.12 kB / 1.303 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/1.106, allocations: 3.376 MB / 1.306 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/1.107, allocations: 0.5285 MB / 1.307 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/1.107, allocations: 31.34 kB / 1.307 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/1.109, allocations: 91.66 kB / 1.307 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000475/1.109, allocations: 145.4 kB / 1.307 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.109, allocations: 46.34 kB / 1.307 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001697/1.111, allocations: 1.227 MB / 1.308 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/1.111, allocations: 4 kB / 1.308 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00318/1.114, allocations: 0.9085 MB / 1.309 GB, free: 123.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.005011/1.119, allocations: 3.975 MB / 1.313 GB, free: 121.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007231/1.126, allocations: 5.203 MB / 1.318 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.126, allocations: 3.938 kB / 1.318 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003501/1.13, allocations: 2.995 MB / 1.321 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/1.133, allocations: 0.8247 MB / 1.322 GB, free: 116.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03243/1.166, allocations: 27.55 MB / 1.349 GB, free: 93.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/1.169, allocations: 3.207 MB / 1.352 GB, free: 90.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00171/1.17, allocations: 0.5249 MB / 1.352 GB, free: 89.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.172, allocations: 1.651 MB / 1.354 GB, free: 88.13 MB / 0.9981 GB Notification: Performance of SimCode: time 1.293e-06/1.172, allocations: 0 / 1.354 GB, free: 88.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/1.284, allocations: 70.88 MB / 1.423 GB, free: 18.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/12, allocations: 8.578 kB / 1.423 GB, free: 18.07 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches