Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.007367/0.007368, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.001882/0.001882, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.532/2.532, allocations: 482.6 MB / 0.7551 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 69.52 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2727, allocations: 162.3 MB / 1.242 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03068/0.3034, allocations: 26.66 MB / 1.268 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.3161, allocations: 8.082 MB / 1.276 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.3178, allocations: 115.4 kB / 1.276 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006282/0.3241, allocations: 2.761 MB / 1.279 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0035/0.3276, allocations: 1.589 MB / 1.28 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.3315, allocations: 1.675 MB / 1.282 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007134/0.3387, allocations: 6.134 MB / 1.288 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008281/0.347, allocations: 7.312 MB / 1.295 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.3506, allocations: 2.578 MB / 1.297 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.3544, allocations: 2.827 MB / 1.3 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0007284/0.3551, allocations: 0.5078 MB / 1.301 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.3574, allocations: 1.287 MB / 1.302 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.3593, allocations: 2.05 MB / 1.304 GB, free: 9.051 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002596/0.3619, allocations: 2.381 MB / 1.306 GB, free: 6.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008008/0.3699, allocations: 8.075 MB / 1.314 GB, free: 14.56 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.37, allocations: 4 kB / 1.314 GB, free: 14.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.37, allocations: 0 / 1.314 GB, free: 14.55 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001252/0.3701, allocations: 0 / 1.314 GB, free: 14.55 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007431/0.3775, allocations: 4.347 MB / 1.318 GB, free: 10.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3776, allocations: 12.03 kB / 1.318 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006689/0.3783, allocations: 0.5304 MB / 1.319 GB, free: 9.586 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.3821, allocations: 0.8179 MB / 1.32 GB, free: 8.766 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/0.3863, allocations: 2.598 MB / 1.322 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.3865, allocations: 271.6 kB / 1.323 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006496/0.3872, allocations: 380.4 kB / 1.323 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008472/0.3956, allocations: 5.98 MB / 1.329 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.459e-05/0.3957, allocations: 23.81 kB / 1.329 GB, free: 15.22 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003536/0.3961, allocations: 164 kB / 1.329 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005261/0.3966, allocations: 278.9 kB / 1.329 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006767/0.4034, allocations: 4.516 MB / 1.334 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02613/0.4295, allocations: 27.51 MB / 1.36 GB, free: 12.25 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.4311, allocations: 1.125 MB / 1.362 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.4325, allocations: 1.023 MB / 1.363 GB, free: 10.1 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.522e-05/0.4326, allocations: 13 kB / 1.363 GB, free: 10.09 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.4327, allocations: 43.56 kB / 1.363 GB, free: 10.03 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 2.675e-06/0.4327, allocations: 0 / 1.363 GB, free: 10.03 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.0204/0.4531, allocations: 9.719 MB / 1.372 GB, free: 108 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4532, allocations: 68.66 kB / 1.372 GB, free: 28 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.455, allocations: 1.502 MB / 1.374 GB, free: 14.53 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-05/0.4551, allocations: 45.7 kB / 1.374 GB, free: 14.48 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.4562, allocations: 1.711 MB / 1.375 GB, free: 12.75 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.4567, allocations: 499.8 kB / 1.376 GB, free: 12.25 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005413/0.4572, allocations: 327.4 kB / 1.376 GB, free: 11.93 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4573, allocations: 309.1 kB / 1.376 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.4586, allocations: 0.9135 MB / 1.377 GB, free: 10.71 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.4604, allocations: 1.463 MB / 1.379 GB, free: 9.008 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.4637, allocations: 2.546 MB / 1.381 GB, free: 6.219 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.4637, allocations: 11.94 kB / 1.381 GB, free: 6.207 MB / 1.107 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005368/0.4691, allocations: 3.291 MB / 1.384 GB, free: 2.879 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.4691, allocations: 12 kB / 1.384 GB, free: 2.867 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.4691, allocations: 23.94 kB / 1.384 GB, free: 2.844 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/0.4713, allocations: 0.7338 MB / 1.385 GB, free: 2.082 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.4728, allocations: 387.3 kB / 1.386 GB, free: 1.703 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/0.4892, allocations: 17.04 MB / 1.402 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.4903, allocations: 99.91 kB / 1.402 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.4905, allocations: 80.25 kB / 1.402 GB, free: 15.21 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001915/0.4924, allocations: 1.311 MB / 1.404 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.4927, allocations: 206.7 kB / 1.404 GB, free: 13.69 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005007/0.4977, allocations: 2.788 MB / 1.407 GB, free: 10.86 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.4977, allocations: 16.14 kB / 1.407 GB, free: 10.85 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.4977, allocations: 11.98 kB / 1.407 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4977, allocations: 7.969 kB / 1.407 GB, free: 10.83 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009378/0.5071, allocations: 6.225 MB / 1.413 GB, free: 4.438 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5071, allocations: 8 kB / 1.413 GB, free: 4.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.5082, allocations: 231.7 kB / 1.413 GB, free: 4.203 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/0.5102, allocations: 0.6671 MB / 1.414 GB, free: 3.508 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.376e-05/0.5103, allocations: 31.98 kB / 1.414 GB, free: 3.477 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/0.5263, allocations: 16.79 MB / 1.43 GB, free: 1.422 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.5263, allocations: 7.938 kB / 1.43 GB, free: 1.414 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006289/0.5326, allocations: 4.017 MB / 1.434 GB, free: 13.29 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/0.5335, allocations: 463.7 kB / 1.434 GB, free: 12.82 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.5337, allocations: 35.94 kB / 1.434 GB, free: 12.78 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/0.5346, allocations: 83.89 kB / 1.435 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.5349, allocations: 116.7 kB / 1.435 GB, free: 12.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.812e-05/0.535, allocations: 40 kB / 1.435 GB, free: 12.55 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001399/0.5364, allocations: 0.9942 MB / 1.436 GB, free: 11.56 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5364, allocations: 4 kB / 1.436 GB, free: 11.56 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001958/0.5384, allocations: 0.6836 MB / 1.436 GB, free: 10.87 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006436/0.5448, allocations: 4.625 MB / 1.441 GB, free: 6.125 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005196/0.5501, allocations: 3.522 MB / 1.444 GB, free: 2.484 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.5501, allocations: 7.938 kB / 1.444 GB, free: 2.477 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/0.5533, allocations: 2.288 MB / 1.447 GB, free: 76 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.5559, allocations: 0.6785 MB / 1.447 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03104/0.5869, allocations: 21.25 MB / 1.468 GB, free: 9.289 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.5897, allocations: 2.66 MB / 1.471 GB, free: 6.594 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001297/0.5911, allocations: 485.4 kB / 1.471 GB, free: 6.117 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/0.5926, allocations: 1.28 MB / 1.472 GB, free: 4.836 MB / 1.201 GB Notification: Performance of SimCode: time 7.31e-07/0.5926, allocations: 4 kB / 1.472 GB, free: 4.832 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.101/5.693, allocations: 57.22 MB / 1.528 GB, free: 12.33 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.37/32.06, allocations: 6.266 kB / 1.528 GB, free: 12.32 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches