Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.006663/0.006663, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001639/0.001639, allocations: 199.4 kB / 16.68 MB, free: 5.961 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 68.11 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2877, allocations: 162.3 MB / 1.242 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.5826/0.8703, allocations: 32.61 MB / 1.274 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.8882, allocations: 10.26 MB / 1.284 GB, free: 7.078 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/0.8911, allocations: 147.7 kB / 1.284 GB, free: 7.031 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009154/0.9003, allocations: 3.715 MB / 1.288 GB, free: 4.785 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.9062, allocations: 1.852 MB / 1.289 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005955/0.9122, allocations: 2.139 MB / 1.291 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01077/0.9229, allocations: 7.321 MB / 1.299 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/0.935, allocations: 9.429 MB / 1.308 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006175/0.9413, allocations: 3.177 MB / 1.311 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006338/0.9476, allocations: 3.472 MB / 1.314 GB, free: 8.352 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.9493, allocations: 0.65 MB / 1.315 GB, free: 8.348 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004691/0.954, allocations: 1.767 MB / 1.317 GB, free: 7.902 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004021/0.958, allocations: 2.547 MB / 1.319 GB, free: 6.844 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005909/0.9639, allocations: 2.898 MB / 1.322 GB, free: 4.957 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01492/0.9789, allocations: 10.13 MB / 1.332 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9789, allocations: 0 / 1.332 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9789, allocations: 1.25 kB / 1.332 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002366/0.9792, allocations: 0 / 1.332 GB, free: 0.6055 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01065/0.9898, allocations: 5.121 MB / 1.337 GB, free: 13.1 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9899, allocations: 10.22 kB / 1.337 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009953/0.9909, allocations: 0.6848 MB / 1.338 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.996, allocations: 0.9794 MB / 1.338 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00501/1.001, allocations: 3.059 MB / 1.341 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/1.001, allocations: 353.2 kB / 1.342 GB, free: 9.961 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007231/1.002, allocations: 461.9 kB / 1.342 GB, free: 9.805 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/1.015, allocations: 7.668 MB / 1.35 GB, free: 4.984 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/1.015, allocations: 29.47 kB / 1.35 GB, free: 4.965 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004997/1.016, allocations: 196.3 kB / 1.35 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003577/1.016, allocations: 316 kB / 1.35 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009615/1.026, allocations: 5.712 MB / 1.356 GB, free: 1.797 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03859/1.064, allocations: 34.9 MB / 1.39 GB, free: 13.06 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/1.068, allocations: 2.15 MB / 1.392 GB, free: 10.8 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/1.069, allocations: 1.268 MB / 1.393 GB, free: 9.527 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.014e-05/1.069, allocations: 17.31 kB / 1.393 GB, free: 9.512 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.069, allocations: 43.88 kB / 1.393 GB, free: 9.461 MB / 1.092 GB Notification: Performance of pre-optimization done (n=133): time 3.126e-06/1.069, allocations: 0 / 1.393 GB, free: 9.461 MB / 1.092 GB Notification: Performance of matching and sorting (n=136): time 0.01428/1.084, allocations: 7.145 MB / 1.4 GB, free: 2.047 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/1.084, allocations: 68.72 kB / 1.4 GB, free: 1.969 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/1.086, allocations: 1.492 MB / 1.402 GB, free: 440 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.086, allocations: 45.7 kB / 1.402 GB, free: 388 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/1.087, allocations: 2.065 MB / 1.404 GB, free: 14.29 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000462/1.088, allocations: 0.4996 MB / 1.404 GB, free: 13.79 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005208/1.088, allocations: 355.3 kB / 1.405 GB, free: 13.43 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.088, allocations: 301.1 kB / 1.405 GB, free: 13.14 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/1.09, allocations: 0.9135 MB / 1.406 GB, free: 12.22 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/1.092, allocations: 1.597 MB / 1.407 GB, free: 10.31 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/1.095, allocations: 2.729 MB / 1.41 GB, free: 7.273 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/1.095, allocations: 11.94 kB / 1.41 GB, free: 7.262 MB / 1.107 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006102/1.101, allocations: 3.538 MB / 1.414 GB, free: 3.676 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/1.101, allocations: 12.97 kB / 1.414 GB, free: 3.664 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/1.101, allocations: 27.94 kB / 1.414 GB, free: 3.637 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002569/1.104, allocations: 0.8959 MB / 1.414 GB, free: 2.703 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.105, allocations: 351.4 kB / 1.415 GB, free: 2.359 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/1.127, allocations: 23.12 MB / 1.437 GB, free: 9.559 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/1.128, allocations: 95.92 kB / 1.437 GB, free: 9.465 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/1.129, allocations: 87.98 kB / 1.438 GB, free: 9.379 MB / 1.139 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003044/1.132, allocations: 1.602 MB / 1.439 GB, free: 7.766 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/1.132, allocations: 218.9 kB / 1.439 GB, free: 7.551 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005268/1.137, allocations: 2.99 MB / 1.442 GB, free: 4.516 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.137, allocations: 19.98 kB / 1.442 GB, free: 4.496 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.137, allocations: 8 kB / 1.442 GB, free: 4.488 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/1.137, allocations: 7.969 kB / 1.442 GB, free: 4.48 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/1.149, allocations: 7.34 MB / 1.449 GB, free: 12.9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.149, allocations: 4 kB / 1.449 GB, free: 12.9 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/1.15, allocations: 179.7 kB / 1.45 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/1.153, allocations: 0.8223 MB / 1.45 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.203e-05/1.153, allocations: 24 kB / 1.45 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02053/1.173, allocations: 21.96 MB / 1.472 GB, free: 4.191 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.173, allocations: 4 kB / 1.472 GB, free: 4.188 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/1.179, allocations: 3.034 MB / 1.475 GB, free: 1.043 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.18, allocations: 471.5 kB / 1.475 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/1.18, allocations: 31.94 kB / 1.475 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008/1.181, allocations: 75.91 kB / 1.475 GB, free: 468 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003548/1.181, allocations: 124.7 kB / 1.476 GB, free: 344 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.628e-05/1.181, allocations: 40 kB / 1.476 GB, free: 304 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001324/1.182, allocations: 0.9756 MB / 1.477 GB, free: 15.3 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.182, allocations: 0 / 1.477 GB, free: 15.3 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002684/1.185, allocations: 0.7812 MB / 1.477 GB, free: 14.52 MB / 1.186 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005274/1.19, allocations: 3.634 MB / 1.481 GB, free: 10.76 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005862/1.196, allocations: 4.039 MB / 1.485 GB, free: 6.57 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.196, allocations: 0 / 1.485 GB, free: 6.57 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003771/1.2, allocations: 2.736 MB / 1.487 GB, free: 3.676 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/1.203, allocations: 0.7301 MB / 1.488 GB, free: 2.973 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/1.238, allocations: 22.47 MB / 1.51 GB, free: 11.48 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003479/1.241, allocations: 3.113 MB / 1.513 GB, free: 8.34 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001395/1.242, allocations: 457.9 kB / 1.514 GB, free: 7.891 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/1.244, allocations: 1.542 MB / 1.515 GB, free: 6.348 MB / 1.217 GB Notification: Performance of SimCode: time 1.152e-06/1.244, allocations: 0 / 1.515 GB, free: 6.348 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.898/4.143, allocations: 61.44 MB / 1.575 GB, free: 9.559 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.1/27.25, allocations: 8.047 kB / 1.575 GB, free: 9.559 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches