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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_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.0008967/0.0008966, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009531/0.000953, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.874/2.874, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00052/0.00052, allocations: 17 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3847, allocations: 159.6 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007262/0.392, allocations: 5.463 MB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005052/0.3971, allocations: 2.987 MB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/0.3978, allocations: 23.81 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.3983, allocations: 119 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.3996, allocations: 374 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.4009, allocations: 382 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.4025, allocations: 1.213 MB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.4044, allocations: 0.9055 MB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009094/0.4053, allocations: 362.4 kB / 1.07 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009471/0.4063, allocations: 438.4 kB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.4064, allocations: 35.94 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009233/0.4074, allocations: 247.6 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003792/0.4077, allocations: 251.3 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.4081, allocations: 161.3 kB / 1.071 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.4094, allocations: 0.8769 MB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4095, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4095, allocations: 3.938 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.91e-05/0.4095, allocations: 0 / 1.071 GB, free: 7.406 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.002284/0.4118, allocations: 0.927 MB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.4119, allocations: 8.031 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.4136, allocations: 222.8 kB / 1.073 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.4146, allocations: 0.5287 MB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.4147, allocations: 45.3 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.4148, allocations: 60 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.4165, allocations: 1.037 MB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.4166, allocations: 4 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.4167, allocations: 35.92 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.4168, allocations: 73.2 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.4179, allocations: 0.6879 MB / 1.075 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/0.4235, allocations: 5.749 MB / 1.081 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/0.4244, allocations: 0.6021 MB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/0.4252, allocations: 424.6 kB / 1.082 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.4253, allocations: 4 kB / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.4253, allocations: 38.56 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.054e-06/0.4253, allocations: 0 / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004452/0.4298, allocations: 2.057 MB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.4298, allocations: 55.41 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.4304, allocations: 462.8 kB / 1.084 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.4304, allocations: 33.7 kB / 1.084 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.4307, allocations: 387 kB / 1.085 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.4309, allocations: 142 kB / 1.085 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.4309, allocations: 12 kB / 1.085 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4311, allocations: 366.8 kB / 1.085 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.4315, allocations: 249.1 kB / 1.085 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.432, allocations: 453 kB / 1.086 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.4325, allocations: 323.7 kB / 1.086 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.4325, allocations: 3.953 kB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001927/0.4344, allocations: 1.058 MB / 1.087 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4345, allocations: 8 kB / 1.087 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.4345, allocations: 8 kB / 1.087 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4355, allocations: 331.7 kB / 1.087 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.4358, allocations: 91.83 kB / 1.088 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007357/0.4432, allocations: 6.943 MB / 1.094 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.4437, allocations: 28.03 kB / 1.094 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.4438, allocations: 27.98 kB / 1.094 GB, free: 14.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004397/0.4442, allocations: 250.1 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4443, allocations: 59.25 kB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.4461, allocations: 0.9198 MB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4462, allocations: 8 kB / 1.096 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.4462, allocations: 4 kB / 1.096 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4462, allocations: 3.938 kB / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.449, allocations: 1.704 MB / 1.097 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.449, allocations: 0 / 1.097 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.4492, allocations: 44.09 kB / 1.097 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008871/0.4501, allocations: 323.3 kB / 1.098 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.4501, allocations: 12 kB / 1.098 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007371/0.4575, allocations: 6.935 MB / 1.104 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.4576, allocations: 11.97 kB / 1.104 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.4596, allocations: 0.9956 MB / 1.105 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.46, allocations: 172.3 kB / 1.106 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.4601, allocations: 15.98 kB / 1.106 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.4604, allocations: 23.98 kB / 1.106 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4605, allocations: 43.89 kB / 1.106 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.4606, allocations: 12 kB / 1.106 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004454/0.461, allocations: 307.2 kB / 1.106 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.52e-07/0.4611, allocations: 0 / 1.106 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001047/0.4621, allocations: 192 kB / 1.106 GB, free: 1.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000204/0.4623, allocations: 119.1 kB / 1.106 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.4645, allocations: 1.199 MB / 1.107 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4645, allocations: 0 / 1.107 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.4659, allocations: 0.8593 MB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009783/0.4669, allocations: 191.7 kB / 1.108 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.4693, allocations: 1.48 MB / 1.11 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/0.4701, allocations: 0.9959 MB / 1.111 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003492/0.4704, allocations: 105.3 kB / 1.111 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.4705, allocations: 35.44 kB / 1.111 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of SimCode: time 7.92e-07/0.4705, allocations: 0 / 1.111 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.01849/0.489, allocations: 9.213 MB / 1.12 GB, free: 3.508 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