Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.008799/0.008799, allocations: 102.7 kB / 15.74 MB, free: 5.551 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.002192/0.002192, allocations: 194.6 kB / 16.67 MB, free: 5.48 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.2 MB / 0.6648 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.91 kB / 0.9509 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04827/1.08, allocations: 34.84 MB / 1.122 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02624/1.107, allocations: 11.49 MB / 1.133 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007268/1.114, allocations: 163.1 kB / 1.133 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01461/1.129, allocations: 4.262 MB / 1.138 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/1.14, allocations: 2.092 MB / 1.14 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01176/1.151, allocations: 2.402 MB / 1.142 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01802/1.169, allocations: 8.474 MB / 1.15 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02598/1.195, allocations: 11.13 MB / 1.161 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/1.207, allocations: 3.8 MB / 1.165 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01126/1.218, allocations: 4.19 MB / 1.169 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004479/1.223, allocations: 0.7788 MB / 1.17 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008989/1.232, allocations: 2.025 MB / 1.172 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.009118/1.241, allocations: 3.055 MB / 1.175 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01436/1.255, allocations: 3.401 MB / 1.178 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.029/1.284, allocations: 12.01 MB / 1.19 GB, free: 5.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/1.285, allocations: 4 kB / 1.19 GB, free: 5.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.284e-06/1.285, allocations: 4 kB / 1.19 GB, free: 5.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005549/1.285, allocations: 0 / 1.19 GB, free: 5.855 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.02478/1.31, allocations: 5.939 MB / 1.195 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/1.31, allocations: 12.02 kB / 1.195 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008603/1.319, allocations: 1.086 MB / 1.196 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/1.329, allocations: 3.467 MB / 1.2 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004876/1.33, allocations: 411.5 kB / 1.2 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002936/1.333, allocations: 0.5354 MB / 1.201 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/1.36, allocations: 9.083 MB / 1.21 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003492/1.36, allocations: 31.77 kB / 1.21 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00208/1.363, allocations: 244 kB / 1.21 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000452/1.363, allocations: 346.8 kB / 1.21 GB, free: 268 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/1.38, allocations: 6.826 MB / 1.217 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05474/1.434, allocations: 39.86 MB / 1.256 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/1.439, allocations: 3.099 MB / 1.259 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/1.442, allocations: 1.985 MB / 1.261 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/1.442, allocations: 25.98 kB / 1.261 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.167e-05/1.443, allocations: 48.56 kB / 1.261 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 4.068e-06/1.443, allocations: 3.938 kB / 1.261 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.02871/1.471, allocations: 10.04 MB / 1.271 GB, free: 14.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/1.471, allocations: 73.41 kB / 1.271 GB, free: 14.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/1.474, allocations: 1.526 MB / 1.272 GB, free: 12.76 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002953/1.474, allocations: 57.7 kB / 1.272 GB, free: 12.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/1.476, allocations: 2.327 MB / 1.275 GB, free: 10.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008497/1.477, allocations: 0.6584 MB / 1.275 GB, free: 9.684 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008882/1.478, allocations: 408.1 kB / 1.276 GB, free: 9.277 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.478, allocations: 309.1 kB / 1.276 GB, free: 8.973 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/1.48, allocations: 1.183 MB / 1.277 GB, free: 7.785 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/1.482, allocations: 1.877 MB / 1.279 GB, free: 5.582 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/1.487, allocations: 3.379 MB / 1.282 GB, free: 1.891 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/1.487, allocations: 8 kB / 1.282 GB, free: 1.883 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008442/1.495, allocations: 4.582 MB / 1.287 GB, free: 13.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/1.495, allocations: 16 kB / 1.287 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/1.495, allocations: 24.12 kB / 1.287 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003951/1.499, allocations: 1.586 MB / 1.288 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/1.501, allocations: 351.3 kB / 1.289 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/1.527, allocations: 18.6 MB / 1.307 GB, free: 8.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/1.529, allocations: 119.9 kB / 1.307 GB, free: 8.023 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/1.53, allocations: 99.98 kB / 1.307 GB, free: 7.926 MB / 1.045 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.003986/1.534, allocations: 1.894 MB / 1.309 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007055/1.534, allocations: 234.5 kB / 1.309 GB, free: 5.789 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007617/1.542, allocations: 4.09 MB / 1.313 GB, free: 1.672 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/1.542, allocations: 24 kB / 1.313 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.733e-05/1.542, allocations: 16 kB / 1.313 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1.542, allocations: 11.91 kB / 1.313 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/1.561, allocations: 9.465 MB / 1.322 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.561, allocations: 4 kB / 1.322 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/1.562, allocations: 183.7 kB / 1.323 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003515/1.565, allocations: 1.356 MB / 1.324 GB, free: 6.363 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/1.566, allocations: 32 kB / 1.324 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/1.589, allocations: 17.38 MB / 1.341 GB, free: 4.391 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.589, allocations: 7.938 kB / 1.341 GB, free: 4.383 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008062/1.597, allocations: 4.091 MB / 1.345 GB, free: 204 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.598, allocations: 0.5346 MB / 1.345 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006004/1.599, allocations: 32 kB / 1.345 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.6, allocations: 92.39 kB / 1.345 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000485/1.601, allocations: 161.7 kB / 1.346 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.601, allocations: 44 kB / 1.346 GB, free: 15.32 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001838/1.603, allocations: 1.005 MB / 1.347 GB, free: 14.3 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.603, allocations: 0 / 1.347 GB, free: 14.3 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004565/1.607, allocations: 0.9844 MB / 1.348 GB, free: 13.31 MB / 1.092 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.0003866/1.608, allocations: 159 kB / 1.348 GB, free: 13.15 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007559/1.615, allocations: 4.316 MB / 1.352 GB, free: 8.781 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.615, allocations: 0 / 1.352 GB, free: 8.781 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004569/1.62, allocations: 2.673 MB / 1.355 GB, free: 6.066 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/1.624, allocations: 0.7779 MB / 1.355 GB, free: 5.316 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/1.643, allocations: 8.741 MB / 1.364 GB, free: 12.48 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006046/1.649, allocations: 3.576 MB / 1.367 GB, free: 8.871 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001625/1.65, allocations: 467.9 kB / 1.368 GB, free: 8.41 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/1.651, allocations: 111.4 kB / 1.368 GB, free: 8.301 MB / 1.107 GB Notification: Performance of SimCode: time 1.192e-06/1.651, allocations: 4 kB / 1.368 GB, free: 8.297 MB / 1.107 GB Notification: Performance of Templates: time 0.08188/1.733, allocations: 44.61 MB / 1.412 GB, free: 12.15 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches