Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, 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.002286/0.002286, allocations: 194.5 kB / 16.14 MB, free: 6.691 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.84/2.84, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 68.56 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3121, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03652/0.3487, allocations: 34.54 MB / 1.086 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.3675, allocations: 11.5 MB / 1.097 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004093/0.3717, allocations: 147.2 kB / 1.097 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.3819, allocations: 3.991 MB / 1.101 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007858/0.3898, allocations: 1.867 MB / 1.103 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006844/0.3967, allocations: 2.164 MB / 1.105 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01606/0.4127, allocations: 12.41 MB / 1.117 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02444/0.4373, allocations: 12.32 MB / 1.129 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007379/0.4447, allocations: 3.188 MB / 1.132 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007672/0.4524, allocations: 4.276 MB / 1.136 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002551/0.455, allocations: 0.5391 MB / 1.137 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006016/0.4611, allocations: 2.129 MB / 1.139 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00584/0.467, allocations: 2.822 MB / 1.142 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.009664/0.4767, allocations: 3.135 MB / 1.145 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01842/0.4951, allocations: 11.83 MB / 1.156 GB, free: 13.63 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.4952, allocations: 0 / 1.156 GB, free: 13.63 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4952, allocations: 0 / 1.156 GB, free: 13.63 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004521/0.4956, allocations: 0 / 1.156 GB, free: 13.63 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01926/0.5149, allocations: 5.799 MB / 1.162 GB, free: 7.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.515, allocations: 12.03 kB / 1.162 GB, free: 7.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007418/0.5224, allocations: 1.06 MB / 1.163 GB, free: 6.684 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007516/0.53, allocations: 3.262 MB / 1.166 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004696/0.5305, allocations: 415.5 kB / 1.167 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/0.5329, allocations: 0.5353 MB / 1.167 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0249/0.5578, allocations: 9.079 MB / 1.176 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003321/0.5582, allocations: 31.77 kB / 1.176 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001893/0.5601, allocations: 232 kB / 1.176 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004694/0.5606, allocations: 354.7 kB / 1.177 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01607/0.5767, allocations: 6.822 MB / 1.183 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05355/0.6303, allocations: 40.11 MB / 1.223 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.6345, allocations: 3.109 MB / 1.226 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/0.6376, allocations: 1.978 MB / 1.228 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.6378, allocations: 21.94 kB / 1.228 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.6378, allocations: 52.56 kB / 1.228 GB, free: 460 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=179): time 3.958e-06/0.6379, allocations: 0 / 1.228 GB, free: 460 kB / 0.9825 GB Notification: Performance of matching and sorting (n=182): time 0.02679/0.6647, allocations: 9.97 MB / 1.237 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.6648, allocations: 77.34 kB / 1.237 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.668, allocations: 1.53 MB / 1.239 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.6682, allocations: 53.7 kB / 1.239 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.6699, allocations: 2.253 MB / 1.241 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008677/0.6708, allocations: 0.6316 MB / 1.242 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.6719, allocations: 411.8 kB / 1.242 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6721, allocations: 305.1 kB / 1.242 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.6743, allocations: 1.176 MB / 1.244 GB, free: 15.85 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/0.6774, allocations: 1.885 MB / 1.245 GB, free: 13.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005571/0.683, allocations: 3.371 MB / 1.249 GB, free: 9.957 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-05/0.683, allocations: 4 kB / 1.249 GB, free: 9.953 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008905/0.6919, allocations: 4.58 MB / 1.253 GB, free: 5.348 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.692, allocations: 16 kB / 1.253 GB, free: 5.332 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.692, allocations: 20 kB / 1.253 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/0.6959, allocations: 1.586 MB / 1.255 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.6971, allocations: 351.4 kB / 1.255 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6396/1.337, allocations: 17.01 MB / 1.272 GB, free: 182.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/1.339, allocations: 116.4 kB / 1.272 GB, free: 182.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/1.339, allocations: 98.03 kB / 1.272 GB, free: 182.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003563/1.343, allocations: 1.895 MB / 1.274 GB, free: 182.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005436/1.343, allocations: 231.6 kB / 1.274 GB, free: 182.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007802/1.351, allocations: 4.094 MB / 1.278 GB, free: 182.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/1.351, allocations: 17.56 kB / 1.278 GB, free: 182.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.163e-05/1.351, allocations: 16.7 kB / 1.278 GB, free: 182.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/1.351, allocations: 15.47 kB / 1.278 GB, free: 182.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/1.367, allocations: 9.463 MB / 1.287 GB, free: 178.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.367, allocations: 4.656 kB / 1.287 GB, free: 178.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/1.368, allocations: 184.1 kB / 1.287 GB, free: 178.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003422/1.372, allocations: 1.359 MB / 1.289 GB, free: 177.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/1.372, allocations: 36.47 kB / 1.289 GB, free: 177.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/1.389, allocations: 15.94 MB / 1.304 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.389, allocations: 11.09 kB / 1.304 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006064/1.395, allocations: 4.068 MB / 1.308 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.397, allocations: 0.5251 MB / 1.309 GB, free: 166.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/1.397, allocations: 37.05 kB / 1.309 GB, free: 166.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008268/1.398, allocations: 88.58 kB / 1.309 GB, free: 166.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005207/1.398, allocations: 161.9 kB / 1.309 GB, free: 166.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.65e-05/1.398, allocations: 48.59 kB / 1.309 GB, free: 166.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001287/1.4, allocations: 1.003 MB / 1.31 GB, free: 165.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.4, allocations: 0 / 1.31 GB, free: 165.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003435/1.403, allocations: 0.9892 MB / 1.311 GB, free: 165.7 MB / 1.014 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002657/1.403, allocations: 152.9 kB / 1.311 GB, free: 165.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006127/1.409, allocations: 4.276 MB / 1.315 GB, free: 163.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.41, allocations: 0 / 1.315 GB, free: 163.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003619/1.413, allocations: 2.662 MB / 1.318 GB, free: 161.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/1.416, allocations: 0.7218 MB / 1.319 GB, free: 161.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/1.43, allocations: 11.02 MB / 1.33 GB, free: 153.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/1.434, allocations: 3.573 MB / 1.333 GB, free: 150.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001468/1.435, allocations: 459 kB / 1.333 GB, free: 149.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/1.436, allocations: 119.4 kB / 1.334 GB, free: 149.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.436, allocations: 0 / 1.334 GB, free: 149.5 MB / 1.014 GB Notification: Performance of Templates: time 0.05931/1.495, allocations: 42.68 MB / 1.375 GB, free: 107.3 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches