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.00805/0.00805, allocations: 101.8 kB / 15.73 MB, free: 6 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.001598/0.001598, allocations: 193.5 kB / 16.67 MB, free: 5.926 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.383/2.383, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 59.91 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.099, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04414/1.143, allocations: 34.83 MB / 1.122 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02745/1.171, allocations: 11.49 MB / 1.133 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007029/1.178, allocations: 163.6 kB / 1.133 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01388/1.192, allocations: 4.25 MB / 1.137 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009502/1.201, allocations: 1.992 MB / 1.139 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01036/1.212, allocations: 2.413 MB / 1.142 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01998/1.232, allocations: 8.459 MB / 1.15 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02615/1.258, allocations: 11.12 MB / 1.161 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01147/1.269, allocations: 3.801 MB / 1.165 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/1.28, allocations: 4.184 MB / 1.169 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004082/1.284, allocations: 0.7788 MB / 1.169 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008835/1.293, allocations: 2.026 MB / 1.171 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.007978/1.301, allocations: 3.06 MB / 1.174 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01207/1.313, allocations: 3.401 MB / 1.178 GB, free: 15.69 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02336/1.336, allocations: 11.99 MB / 1.189 GB, free: 5.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.336, allocations: 0 / 1.189 GB, free: 5.992 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.487e-06/1.336, allocations: 0 / 1.189 GB, free: 5.992 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005264/1.337, allocations: 0 / 1.189 GB, free: 5.992 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.02161/1.358, allocations: 5.795 MB / 1.195 GB, free: 128 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.358, allocations: 8.031 kB / 1.195 GB, free: 120 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00746/1.366, allocations: 1.064 MB / 1.196 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00857/1.375, allocations: 3.453 MB / 1.2 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/1.375, allocations: 415.5 kB / 1.2 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002216/1.377, allocations: 0.5431 MB / 1.2 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/1.398, allocations: 9.075 MB / 1.209 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001803/1.398, allocations: 35.75 kB / 1.209 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008621/1.399, allocations: 236 kB / 1.21 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003969/1.4, allocations: 350.8 kB / 1.21 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/1.415, allocations: 6.83 MB / 1.217 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04849/1.463, allocations: 39.79 MB / 1.255 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/1.467, allocations: 3.108 MB / 1.258 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002663/1.47, allocations: 1.985 MB / 1.26 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/1.47, allocations: 22 kB / 1.26 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.47, allocations: 48.56 kB / 1.26 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 5.21e-06/1.47, allocations: 4 kB / 1.26 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.0241/1.494, allocations: 9.977 MB / 1.27 GB, free: 14.85 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/1.494, allocations: 73.41 kB / 1.27 GB, free: 14.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/1.497, allocations: 1.522 MB / 1.272 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/1.497, allocations: 57.7 kB / 1.272 GB, free: 13.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001675/1.498, allocations: 2.261 MB / 1.274 GB, free: 10.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008408/1.499, allocations: 0.6277 MB / 1.275 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007382/1.5, allocations: 407.9 kB / 1.275 GB, free: 9.801 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.5, allocations: 309 kB / 1.275 GB, free: 9.496 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/1.502, allocations: 1.179 MB / 1.276 GB, free: 8.312 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/1.505, allocations: 1.889 MB / 1.278 GB, free: 6.098 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004933/1.51, allocations: 3.371 MB / 1.282 GB, free: 2.414 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/1.51, allocations: 4 kB / 1.282 GB, free: 2.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007745/1.518, allocations: 4.577 MB / 1.286 GB, free: 13.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/1.518, allocations: 16 kB / 1.286 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/1.518, allocations: 20 kB / 1.286 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00372/1.521, allocations: 1.593 MB / 1.288 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.523, allocations: 347.4 kB / 1.288 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02364/1.546, allocations: 18.58 MB / 1.306 GB, free: 8.688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/1.548, allocations: 119.9 kB / 1.306 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/1.549, allocations: 92 kB / 1.306 GB, free: 8.48 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.003892/1.553, allocations: 1.894 MB / 1.308 GB, free: 6.574 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006573/1.553, allocations: 221.4 kB / 1.308 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007076/1.56, allocations: 4.098 MB / 1.312 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/1.56, allocations: 20 kB / 1.312 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.731e-05/1.56, allocations: 16 kB / 1.312 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/1.56, allocations: 7.969 kB / 1.312 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/1.577, allocations: 9.465 MB / 1.322 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.577, allocations: 7.938 kB / 1.322 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008758/1.578, allocations: 179.7 kB / 1.322 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00348/1.582, allocations: 1.354 MB / 1.323 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002047/1.582, allocations: 32 kB / 1.323 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0214/1.603, allocations: 17.36 MB / 1.34 GB, free: 4.977 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.604, allocations: 11.94 kB / 1.34 GB, free: 4.965 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006904/1.61, allocations: 4.078 MB / 1.344 GB, free: 0.793 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/1.612, allocations: 0.5294 MB / 1.345 GB, free: 248 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/1.612, allocations: 36 kB / 1.345 GB, free: 212 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009817/1.613, allocations: 87.89 kB / 1.345 GB, free: 124 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004939/1.614, allocations: 161.7 kB / 1.345 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.614, allocations: 44 kB / 1.345 GB, free: 15.92 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001377/1.615, allocations: 1.005 MB / 1.346 GB, free: 14.89 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.615, allocations: 0 / 1.346 GB, free: 14.89 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004498/1.62, allocations: 0.9883 MB / 1.347 GB, free: 13.91 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.0003715/1.62, allocations: 143.1 kB / 1.347 GB, free: 13.76 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007083/1.627, allocations: 4.3 MB / 1.351 GB, free: 9.406 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/1.627, allocations: 0 / 1.351 GB, free: 9.406 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004423/1.632, allocations: 2.662 MB / 1.354 GB, free: 6.703 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/1.636, allocations: 0.7903 MB / 1.355 GB, free: 5.941 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.652, allocations: 8.592 MB / 1.363 GB, free: 13.27 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004706/1.657, allocations: 3.577 MB / 1.367 GB, free: 9.656 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001497/1.659, allocations: 463.9 kB / 1.367 GB, free: 9.199 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/1.659, allocations: 119.4 kB / 1.367 GB, free: 9.082 MB / 1.107 GB Notification: Performance of SimCode: time 1.143e-06/1.659, allocations: 0 / 1.367 GB, free: 9.082 MB / 1.107 GB Notification: Performance of Templates: time 0.07837/1.737, allocations: 45.28 MB / 1.411 GB, free: 12.26 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