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.01182/0.01182, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002007/0.002007, allocations: 196.3 kB / 16.67 MB, free: 5.52 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.303/2.303, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001597, allocations: 63.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9244, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0422/0.9667, allocations: 34.84 MB / 1.122 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.9891, allocations: 11.49 MB / 1.133 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006187/0.9953, allocations: 167.6 kB / 1.133 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01317/1.009, allocations: 4.262 MB / 1.137 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/1.019, allocations: 2.089 MB / 1.14 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008942/1.028, allocations: 2.4 MB / 1.142 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01553/1.043, allocations: 8.486 MB / 1.15 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02122/1.065, allocations: 11.13 MB / 1.161 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/1.076, allocations: 3.798 MB / 1.165 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/1.087, allocations: 4.189 MB / 1.169 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004106/1.091, allocations: 0.7795 MB / 1.17 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008857/1.1, allocations: 2.021 MB / 1.172 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.007695/1.107, allocations: 3.056 MB / 1.175 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01287/1.12, allocations: 3.406 MB / 1.178 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02131/1.142, allocations: 11.98 MB / 1.19 GB, free: 5.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.497e-06/1.142, allocations: 3.938 kB / 1.19 GB, free: 5.906 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.084e-06/1.142, allocations: 0 / 1.19 GB, free: 5.906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004763/1.142, allocations: 0 / 1.19 GB, free: 5.906 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.02064/1.163, allocations: 5.795 MB / 1.195 GB, free: 40 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.163, allocations: 12.03 kB / 1.195 GB, free: 28 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007462/1.17, allocations: 1.06 MB / 1.196 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008901/1.179, allocations: 3.453 MB / 1.2 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004649/1.18, allocations: 415.5 kB / 1.2 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/1.182, allocations: 0.5276 MB / 1.201 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02743/1.21, allocations: 9.091 MB / 1.209 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004352/1.21, allocations: 31.77 kB / 1.209 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002624/1.213, allocations: 236 kB / 1.21 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006658/1.214, allocations: 350.8 kB / 1.21 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01887/1.232, allocations: 6.822 MB / 1.217 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05722/1.29, allocations: 39.8 MB / 1.256 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/1.294, allocations: 3.11 MB / 1.259 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003088/1.297, allocations: 1.985 MB / 1.261 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/1.297, allocations: 18 kB / 1.261 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.298, allocations: 52.56 kB / 1.261 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 3.887e-06/1.298, allocations: 0 / 1.261 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.0254/1.323, allocations: 9.981 MB / 1.27 GB, free: 14.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/1.323, allocations: 73.41 kB / 1.27 GB, free: 14.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/1.325, allocations: 1.522 MB / 1.272 GB, free: 13.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/1.326, allocations: 57.69 kB / 1.272 GB, free: 13.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/1.327, allocations: 2.253 MB / 1.274 GB, free: 10.76 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006963/1.328, allocations: 0.6316 MB / 1.275 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006195/1.328, allocations: 407.9 kB / 1.275 GB, free: 9.715 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.329, allocations: 309.1 kB / 1.275 GB, free: 9.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/1.33, allocations: 1.176 MB / 1.277 GB, free: 8.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/1.333, allocations: 1.889 MB / 1.278 GB, free: 6.016 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00422/1.337, allocations: 3.375 MB / 1.282 GB, free: 2.328 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.337, allocations: 4 kB / 1.282 GB, free: 2.324 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008239/1.345, allocations: 4.573 MB / 1.286 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/1.345, allocations: 16.88 kB / 1.286 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.372e-05/1.345, allocations: 24 kB / 1.286 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/1.349, allocations: 1.582 MB / 1.288 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.351, allocations: 355.3 kB / 1.288 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/1.375, allocations: 18.58 MB / 1.306 GB, free: 8.605 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/1.378, allocations: 116.3 kB / 1.306 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004756/1.378, allocations: 95.98 kB / 1.306 GB, free: 8.398 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.004403/1.383, allocations: 1.894 MB / 1.308 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007443/1.383, allocations: 225.4 kB / 1.309 GB, free: 6.27 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008296/1.392, allocations: 4.094 MB / 1.313 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/1.392, allocations: 20 kB / 1.313 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.775e-05/1.392, allocations: 20 kB / 1.313 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/1.392, allocations: 11.95 kB / 1.313 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/1.412, allocations: 9.465 MB / 1.322 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.412, allocations: 7.938 kB / 1.322 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000819/1.413, allocations: 179.7 kB / 1.322 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003491/1.416, allocations: 1.352 MB / 1.323 GB, free: 6.844 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/1.416, allocations: 32 kB / 1.323 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02239/1.439, allocations: 17.36 MB / 1.34 GB, free: 4.887 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.439, allocations: 11.94 kB / 1.34 GB, free: 4.875 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00803/1.447, allocations: 4.066 MB / 1.344 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/1.448, allocations: 0.5372 MB / 1.345 GB, free: 160 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006177/1.449, allocations: 39.94 kB / 1.345 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/1.45, allocations: 87.89 kB / 1.345 GB, free: 32 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005915/1.451, allocations: 157.7 kB / 1.345 GB, free: 15.88 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.451, allocations: 48 kB / 1.345 GB, free: 15.83 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001848/1.453, allocations: 1.008 MB / 1.346 GB, free: 14.8 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.71e-07/1.453, allocations: 0 / 1.346 GB, free: 14.8 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004356/1.457, allocations: 0.9844 MB / 1.347 GB, free: 13.82 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.0003552/1.458, allocations: 139.1 kB / 1.347 GB, free: 13.67 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007886/1.466, allocations: 4.301 MB / 1.351 GB, free: 9.32 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.466, allocations: 4.125 kB / 1.351 GB, free: 9.316 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004588/1.47, allocations: 2.661 MB / 1.354 GB, free: 6.613 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004492/1.475, allocations: 0.7824 MB / 1.355 GB, free: 5.859 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/1.496, allocations: 8.592 MB / 1.363 GB, free: 13.18 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008183/1.504, allocations: 3.573 MB / 1.367 GB, free: 9.574 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002325/1.506, allocations: 463.9 kB / 1.367 GB, free: 9.117 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/1.507, allocations: 119.4 kB / 1.367 GB, free: 9 MB / 1.107 GB Notification: Performance of SimCode: time 1.382e-06/1.507, allocations: 0 / 1.367 GB, free: 9 MB / 1.107 GB Notification: Performance of Templates: time 0.08294/1.59, allocations: 44.61 MB / 1.411 GB, free: 12.85 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