Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 173 kB / 16.92 MB, free: 6.652 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.715/2.715, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 10.66 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2994, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02106/0.3205, allocations: 19.49 MB / 1.078 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3314, allocations: 6.383 MB / 1.085 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.3334, allocations: 75.56 kB / 1.085 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.335, allocations: 408.8 kB / 1.085 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.3384, allocations: 1.104 MB / 1.086 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.3416, allocations: 1.075 MB / 1.087 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007474/0.349, allocations: 6.975 MB / 1.094 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01164/0.3607, allocations: 7.275 MB / 1.101 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.3635, allocations: 1.482 MB / 1.103 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.3669, allocations: 2.036 MB / 1.105 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007833/0.3677, allocations: 176 kB / 1.105 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.3701, allocations: 0.9085 MB / 1.106 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.3722, allocations: 1.36 MB / 1.107 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003125/0.3754, allocations: 1.572 MB / 1.108 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00632/0.3817, allocations: 5.392 MB / 1.114 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3817, allocations: 0 / 1.114 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.996e-06/0.3817, allocations: 4 kB / 1.114 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002308/0.382, allocations: 4 kB / 1.114 GB, free: 13.02 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007559/0.3895, allocations: 2.808 MB / 1.116 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3896, allocations: 15.97 kB / 1.116 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/0.3939, allocations: 0.641 MB / 1.117 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.3982, allocations: 1.94 MB / 1.119 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.3985, allocations: 222.3 kB / 1.119 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/0.3996, allocations: 292.3 kB / 1.12 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.41, allocations: 4.894 MB / 1.124 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.4101, allocations: 19.77 kB / 1.124 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006678/0.4108, allocations: 128 kB / 1.124 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004739/0.4113, allocations: 221.7 kB / 1.125 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007342/0.4187, allocations: 3.754 MB / 1.128 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.4433, allocations: 21.62 MB / 1.149 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.4454, allocations: 1.304 MB / 1.151 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.447, allocations: 1.038 MB / 1.152 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.901e-05/0.4471, allocations: 12.98 kB / 1.152 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.4471, allocations: 43.56 kB / 1.152 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 3.567e-06/0.4471, allocations: 0 / 1.152 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138): time 0.02522/0.4723, allocations: 8.723 MB / 1.16 GB, free: 10.94 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.4724, allocations: 68.7 kB / 1.16 GB, free: 10.86 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.4743, allocations: 1.13 MB / 1.161 GB, free: 9.727 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.4745, allocations: 45.7 kB / 1.161 GB, free: 9.676 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009492/0.4754, allocations: 1.3 MB / 1.163 GB, free: 8.359 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.4759, allocations: 485 kB / 1.163 GB, free: 7.879 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.4761, allocations: 129.6 kB / 1.163 GB, free: 7.746 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4762, allocations: 309.1 kB / 1.164 GB, free: 7.441 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.4776, allocations: 0.9174 MB / 1.165 GB, free: 6.523 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.4792, allocations: 1.318 MB / 1.166 GB, free: 5.035 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/0.4824, allocations: 2.43 MB / 1.168 GB, free: 2.438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4824, allocations: 7.938 kB / 1.168 GB, free: 2.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006339/0.4888, allocations: 3.468 MB / 1.172 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.4888, allocations: 8 kB / 1.172 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.4889, allocations: 12 kB / 1.172 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003221/0.4921, allocations: 1.184 MB / 1.173 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000952/0.4931, allocations: 259.6 kB / 1.173 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.5095, allocations: 12.76 MB / 1.185 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.5109, allocations: 91.97 kB / 1.186 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.5111, allocations: 64 kB / 1.186 GB, free: 180 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001975/0.5131, allocations: 1.118 MB / 1.187 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.5135, allocations: 162 kB / 1.187 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005851/0.5194, allocations: 3.173 MB / 1.19 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.5194, allocations: 16 kB / 1.19 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/0.5194, allocations: 15.92 kB / 1.19 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.5195, allocations: 15.91 kB / 1.19 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.5304, allocations: 6.234 MB / 1.196 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.5304, allocations: 12.02 kB / 1.196 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.531, allocations: 151.8 kB / 1.196 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/0.534, allocations: 1.073 MB / 1.197 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.5341, allocations: 28 kB / 1.197 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/0.551, allocations: 12.45 MB / 1.209 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.5511, allocations: 7.938 kB / 1.209 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005917/0.557, allocations: 3.154 MB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.5581, allocations: 435.3 kB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/0.5585, allocations: 31.94 kB / 1.213 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.5596, allocations: 87.83 kB / 1.213 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004225/0.56, allocations: 124.7 kB / 1.213 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.5601, allocations: 43.98 kB / 1.213 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001352/0.5615, allocations: 0.7593 MB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5615, allocations: 0 / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002632/0.5641, allocations: 0.6602 MB / 1.215 GB, free: 1.766 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003089/0.5645, allocations: 143.1 kB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005203/0.5697, allocations: 3.127 MB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.5697, allocations: 0 / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00315/0.5729, allocations: 1.964 MB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/0.5764, allocations: 467.6 kB / 1.22 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.593, allocations: 7.196 MB / 1.227 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004648/0.5977, allocations: 2.383 MB / 1.23 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/0.5984, allocations: 99.42 kB / 1.23 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of SimCode: time 1.172e-06/0.5984, allocations: 4 kB / 1.23 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of Templates: time 0.6448/1.243, allocations: 79.07 MB / 1.307 GB, free: 141.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches