Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001743/0.001743, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.55 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4121, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008451/0.4206, allocations: 6.165 MB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005757/0.4264, allocations: 3.204 MB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006062/0.4271, allocations: 23.81 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.4293, allocations: 0.8751 MB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.4307, allocations: 434 kB / 1.063 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.4319, allocations: 466.4 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.4334, allocations: 1.463 MB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009991/0.4344, allocations: 0.6366 MB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.4349, allocations: 390.3 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.4355, allocations: 486.1 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.4356, allocations: 44 kB / 1.066 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.4367, allocations: 0.577 MB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.437, allocations: 275.2 kB / 1.067 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.4374, allocations: 393.9 kB / 1.067 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.4386, allocations: 1.176 MB / 1.068 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4386, allocations: 0 / 1.068 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4386, allocations: 3.938 kB / 1.068 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.4386, allocations: 0 / 1.068 GB, free: 8.273 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001616/0.4402, allocations: 1.067 MB / 1.069 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4403, allocations: 8.031 kB / 1.069 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.4418, allocations: 219.6 kB / 1.07 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000749/0.4425, allocations: 0.5453 MB / 1.07 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.4426, allocations: 41.69 kB / 1.07 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.4427, allocations: 64.36 kB / 1.07 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.444, allocations: 1.042 MB / 1.071 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.4441, allocations: 3.938 kB / 1.071 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/0.4441, allocations: 28 kB / 1.071 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.691e-05/0.4442, allocations: 65.28 kB / 1.071 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.4452, allocations: 0.6957 MB / 1.072 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.4499, allocations: 5.749 MB / 1.078 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008216/0.4507, allocations: 0.5943 MB / 1.078 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007313/0.4515, allocations: 420.6 kB / 1.079 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.4515, allocations: 7.938 kB / 1.079 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.4515, allocations: 38.56 kB / 1.079 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.4516, allocations: 3.938 kB / 1.079 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004186/0.4557, allocations: 2.061 MB / 1.081 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.4558, allocations: 55.41 kB / 1.081 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.4563, allocations: 458.8 kB / 1.081 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.4563, allocations: 33.7 kB / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.4566, allocations: 395 kB / 1.082 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.4567, allocations: 153.9 kB / 1.082 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.4569, allocations: 114.2 kB / 1.082 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.457, allocations: 358.8 kB / 1.082 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.4574, allocations: 245.2 kB / 1.082 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.4579, allocations: 469 kB / 1.083 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009174/0.4589, allocations: 0.7478 MB / 1.084 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.4589, allocations: 8 kB / 1.084 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001897/0.4608, allocations: 1.058 MB / 1.085 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.4608, allocations: 8 kB / 1.085 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.4608, allocations: 8 kB / 1.085 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.4619, allocations: 339.7 kB / 1.085 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.4622, allocations: 99.81 kB / 1.085 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007364/0.4696, allocations: 6.947 MB / 1.092 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.4701, allocations: 32.02 kB / 1.092 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.4702, allocations: 28.14 kB / 1.092 GB, free: 14.55 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004624/0.4706, allocations: 245.5 kB / 1.092 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.4708, allocations: 59.33 kB / 1.092 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.4726, allocations: 0.9156 MB / 1.093 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4727, allocations: 8 kB / 1.093 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.4727, allocations: 4 kB / 1.093 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.4727, allocations: 3.984 kB / 1.093 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.4756, allocations: 1.712 MB / 1.095 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4756, allocations: 3.984 kB / 1.095 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.4758, allocations: 35.97 kB / 1.095 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009506/0.4768, allocations: 331.4 kB / 1.095 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.4768, allocations: 12 kB / 1.095 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00657/0.4834, allocations: 6.935 MB / 1.102 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4834, allocations: 0 / 1.102 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.4851, allocations: 1.012 MB / 1.103 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.4854, allocations: 184.3 kB / 1.103 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.4855, allocations: 12 kB / 1.103 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.4858, allocations: 19.97 kB / 1.103 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.486, allocations: 35.95 kB / 1.103 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.486, allocations: 15.94 kB / 1.103 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003575/0.4863, allocations: 314.9 kB / 1.103 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4864, allocations: 0 / 1.103 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008679/0.4872, allocations: 200 kB / 1.104 GB, free: 1.785 MB / 0.8575 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.4874, allocations: 111.2 kB / 1.104 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.4893, allocations: 1.199 MB / 1.105 GB, free: 424 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.4894, allocations: 4 kB / 1.105 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.4906, allocations: 0.862 MB / 1.106 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.4916, allocations: 188.6 kB / 1.106 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.4943, allocations: 1.535 MB / 1.107 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.4951, allocations: 0.9921 MB / 1.108 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000385/0.4955, allocations: 97.19 kB / 1.108 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.4956, allocations: 35.44 kB / 1.108 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of SimCode: time 8.32e-07/0.4956, allocations: 0 / 1.108 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.01881/0.5144, allocations: 9.637 MB / 1.118 GB, free: 3.055 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches