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.001542/0.001542, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002356/0.002356, allocations: 192.6 kB / 16.25 MB, free: 6.625 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.822/2.822, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 73.94 kB / 0.8986 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3727, allocations: 157.4 MB / 1.052 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00877/0.3815, allocations: 6.165 MB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005263/0.3868, allocations: 3.161 MB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.3873, allocations: 27.81 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.3896, allocations: 0.8824 MB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3907, allocations: 433.9 kB / 1.063 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3919, allocations: 462.1 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.3934, allocations: 1.104 MB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.3945, allocations: 0.7171 MB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008849/0.3954, allocations: 438.3 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008485/0.3963, allocations: 498.1 kB / 1.066 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.3965, allocations: 56 kB / 1.066 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.3977, allocations: 487 kB / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004734/0.3982, allocations: 287.2 kB / 1.067 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000807/0.399, allocations: 405.9 kB / 1.067 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.4009, allocations: 1.199 MB / 1.068 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4009, allocations: 0 / 1.068 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4009, allocations: 0 / 1.068 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.793e-05/0.4009, allocations: 0 / 1.068 GB, free: 8.426 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.002222/0.4032, allocations: 1.067 MB / 1.069 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.4032, allocations: 8.625 kB / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.4049, allocations: 219.6 kB / 1.069 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009228/0.4058, allocations: 0.5492 MB / 1.07 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.4059, allocations: 49.67 kB / 1.07 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.406, allocations: 60.36 kB / 1.07 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.4082, allocations: 1.03 MB / 1.071 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.552e-05/0.4082, allocations: 7.938 kB / 1.071 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.4084, allocations: 31.98 kB / 1.071 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.4085, allocations: 69.27 kB / 1.071 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.4101, allocations: 0.6957 MB / 1.072 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008433/0.4186, allocations: 5.745 MB / 1.077 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.4199, allocations: 0.5943 MB / 1.078 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.4211, allocations: 424.6 kB / 1.078 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.4211, allocations: 11.88 kB / 1.078 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4212, allocations: 38.56 kB / 1.078 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.996e-06/0.4212, allocations: 0 / 1.078 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.006662/0.4279, allocations: 2.061 MB / 1.08 GB, free: 11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.428, allocations: 55.41 kB / 1.081 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007559/0.4288, allocations: 470.8 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/0.4289, allocations: 29.7 kB / 1.081 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.4292, allocations: 387 kB / 1.081 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.4294, allocations: 149.9 kB / 1.082 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.4296, allocations: 110.2 kB / 1.082 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.4299, allocations: 366.8 kB / 1.082 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.4304, allocations: 245.2 kB / 1.082 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/0.4313, allocations: 461 kB / 1.083 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.4326, allocations: 0.7556 MB / 1.083 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.4327, allocations: 4 kB / 1.083 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002809/0.4355, allocations: 1.062 MB / 1.084 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.4355, allocations: 8 kB / 1.084 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.4355, allocations: 8.031 kB / 1.084 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/0.4372, allocations: 335 kB / 1.085 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.4377, allocations: 99.81 kB / 1.085 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.4505, allocations: 7.525 MB / 1.092 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.4513, allocations: 28.02 kB / 1.092 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.4514, allocations: 28 kB / 1.092 GB, free: 14.1 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.0006087/0.4521, allocations: 237.6 kB / 1.093 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.4522, allocations: 67.19 kB / 1.093 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/0.4554, allocations: 0.9158 MB / 1.093 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.4554, allocations: 7.984 kB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.4554, allocations: 4 kB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4554, allocations: 0 / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/0.4601, allocations: 1.712 MB / 1.095 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.4602, allocations: 4.281 kB / 1.095 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.4605, allocations: 39.91 kB / 1.095 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.4623, allocations: 327.2 kB / 1.096 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/0.4624, allocations: 12 kB / 1.096 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/0.475, allocations: 7.505 MB / 1.103 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.4751, allocations: 4.234 kB / 1.103 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.4784, allocations: 1.016 MB / 1.104 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.479, allocations: 172.4 kB / 1.104 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.4792, allocations: 12 kB / 1.104 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.4799, allocations: 19.97 kB / 1.104 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.4801, allocations: 39.89 kB / 1.104 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.4802, allocations: 12 kB / 1.104 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00074/0.4809, allocations: 318.9 kB / 1.104 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.41e-07/0.481, allocations: 0 / 1.104 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001515/0.4825, allocations: 195.9 kB / 1.105 GB, free: 0.7461 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.0002641/0.4828, allocations: 115.5 kB / 1.105 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003542/0.4863, allocations: 1.249 MB / 1.106 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4863, allocations: 0 / 1.106 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.4887, allocations: 0.8621 MB / 1.107 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.4908, allocations: 206.7 kB / 1.107 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.4949, allocations: 1.545 MB / 1.108 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.496, allocations: 0.9882 MB / 1.109 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006207/0.4966, allocations: 101.2 kB / 1.11 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.4968, allocations: 35.44 kB / 1.11 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of SimCode: time 2.054e-06/0.4968, allocations: 0 / 1.11 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of Templates: time 0.03497/0.5318, allocations: 10.04 MB / 1.119 GB, free: 1.535 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