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 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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 106 kB / 15.99 MB, free: 6.352 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.002384/0.002383, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.485/1.485, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 482.4 MB / 0.755 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 63.39 kB / 0.924 GB, free: 332 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9543/0.9565, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.0116/0.9681, allocations: 6.806 MB / 1.089 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005695/0.9739, allocations: 3.041 MB / 1.092 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006621/0.9746, allocations: 21.78 kB / 1.092 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.9771, allocations: 0.9007 MB / 1.093 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.9785, allocations: 468.3 kB / 1.093 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.9798, allocations: 403.7 kB / 1.094 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.9814, allocations: 1.235 MB / 1.095 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.9827, allocations: 0.744 MB / 1.096 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007984/0.9835, allocations: 471.5 kB / 1.096 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007518/0.9843, allocations: 0.5376 MB / 1.097 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.9844, allocations: 67.59 kB / 1.097 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008071/0.9852, allocations: 377.8 kB / 1.097 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003653/0.9856, allocations: 315.7 kB / 1.097 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.9861, allocations: 447 kB / 1.098 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.9874, allocations: 0.9583 MB / 1.099 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9874, allocations: 0.7031 kB / 1.099 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9874, allocations: 1.344 kB / 1.099 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.9874, allocations: 0 / 1.099 GB, free: 7.816 MB / 0.8419 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.002139/0.9896, allocations: 1.162 MB / 1.1 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.9896, allocations: 8.625 kB / 1.1 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.9912, allocations: 235.2 kB / 1.1 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.9921, allocations: 0.5588 MB / 1.101 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.9921, allocations: 59.8 kB / 1.101 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.9923, allocations: 58.02 kB / 1.101 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.994, allocations: 1.089 MB / 1.102 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.9941, allocations: 10.44 kB / 1.102 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.9941, allocations: 25.97 kB / 1.102 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.9943, allocations: 84.55 kB / 1.102 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.9956, allocations: 0.7534 MB / 1.103 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/1.002, allocations: 5.898 MB / 1.108 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/1.003, allocations: 0.5574 MB / 1.109 GB, free: 380 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/1.003, allocations: 324.2 kB / 1.109 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/1.003, allocations: 5.125 kB / 1.109 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/1.003, allocations: 39.16 kB / 1.109 GB, free: 208 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.325e-06/1.004, allocations: 0 / 1.109 GB, free: 208 kB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.004155/1.008, allocations: 1.988 MB / 1.111 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/1.008, allocations: 57.95 kB / 1.111 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007515/1.008, allocations: 0.5639 MB / 1.112 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/1.009, allocations: 32.55 kB / 1.112 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/1.009, allocations: 422.3 kB / 1.112 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/1.009, allocations: 173.7 kB / 1.113 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/1.009, allocations: 128.4 kB / 1.113 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002065/1.01, allocations: 373.7 kB / 1.113 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/1.01, allocations: 277.2 kB / 1.113 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/1.011, allocations: 499.1 kB / 1.114 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/1.012, allocations: 0.8109 MB / 1.115 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/1.012, allocations: 6.188 kB / 1.115 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001989/1.014, allocations: 1.088 MB / 1.116 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.014, allocations: 11.38 kB / 1.116 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/1.014, allocations: 10.66 kB / 1.116 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008748/1.015, allocations: 273 kB / 1.116 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/1.015, allocations: 125.1 kB / 1.116 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007594/1.023, allocations: 7.14 MB / 1.123 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/1.023, allocations: 39.36 kB / 1.123 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/1.024, allocations: 32.08 kB / 1.123 GB, free: 6.062 MB / 0.8575 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.0004337/1.024, allocations: 251.2 kB / 1.123 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.024, allocations: 73.38 kB / 1.123 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/1.026, allocations: 0.8879 MB / 1.124 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.026, allocations: 8.578 kB / 1.124 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.026, allocations: 8.219 kB / 1.124 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.026, allocations: 2.766 kB / 1.124 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/1.029, allocations: 1.731 MB / 1.126 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/1.029, allocations: 0.8125 kB / 1.126 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/1.029, allocations: 64.61 kB / 1.126 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007733/1.03, allocations: 261.8 kB / 1.126 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/1.03, allocations: 11.75 kB / 1.126 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007437/1.038, allocations: 7.126 MB / 1.133 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.038, allocations: 2.594 kB / 1.133 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/1.039, allocations: 0.9904 MB / 1.134 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/1.04, allocations: 190.2 kB / 1.134 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/1.04, allocations: 16.92 kB / 1.134 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/1.04, allocations: 37.08 kB / 1.134 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/1.04, allocations: 38.7 kB / 1.134 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/1.041, allocations: 15.66 kB / 1.134 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005013/1.041, allocations: 391.4 kB / 1.135 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.041, allocations: 5.312 kB / 1.135 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008943/1.042, allocations: 224.9 kB / 1.135 GB, free: 13.23 MB / 0.8731 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.0001763/1.042, allocations: 116.9 kB / 1.135 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002248/1.044, allocations: 1.332 MB / 1.136 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.044, allocations: 3.938 kB / 1.136 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/1.046, allocations: 0.8929 MB / 1.137 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/1.047, allocations: 222 kB / 1.138 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/1.05, allocations: 1.711 MB / 1.139 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008126/1.051, allocations: 1.012 MB / 1.14 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/1.051, allocations: 45.62 kB / 1.14 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of SimCode: time 9.32e-07/1.051, allocations: 0 / 1.14 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of Templates: time 0.02996/1.081, allocations: 20.85 MB / 1.161 GB, free: 12.63 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (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 & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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