Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001448/0.001448, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001931/0.001931, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 60.59 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3187, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.06992/0.3886, allocations: 34.84 MB / 1.053 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.4091, allocations: 11.51 MB / 1.064 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/0.4135, allocations: 159.2 kB / 1.064 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.4248, allocations: 4.251 MB / 1.068 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006474/0.4313, allocations: 1.998 MB / 1.07 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006832/0.4382, allocations: 2.399 MB / 1.073 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.614/1.052, allocations: 8.451 MB / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02052/1.073, allocations: 11.13 MB / 1.092 GB, free: 19.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/1.083, allocations: 3.745 MB / 1.095 GB, free: 18.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0114/1.094, allocations: 4.188 MB / 1.1 GB, free: 18.36 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004831/1.099, allocations: 0.7831 MB / 1.1 GB, free: 18.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/1.109, allocations: 2.024 MB / 1.102 GB, free: 18.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.008833/1.118, allocations: 3.057 MB / 1.105 GB, free: 18.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01231/1.131, allocations: 3.404 MB / 1.109 GB, free: 16.6 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0228/1.153, allocations: 11.98 MB / 1.12 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/1.154, allocations: 3.938 kB / 1.12 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.765e-06/1.154, allocations: 0 / 1.12 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0005548/1.154, allocations: 0 / 1.12 GB, free: 13.15 MB / 0.8419 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.03076/1.185, allocations: 5.798 MB / 1.126 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.839e-05/1.185, allocations: 9.969 kB / 1.126 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009657/1.195, allocations: 1.064 MB / 1.127 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/1.206, allocations: 3.454 MB / 1.13 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005912/1.206, allocations: 414.1 kB / 1.131 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003321/1.21, allocations: 0.5374 MB / 1.131 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02754/1.237, allocations: 9.075 MB / 1.14 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004788/1.238, allocations: 35.38 kB / 1.14 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003475/1.241, allocations: 230.6 kB / 1.14 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007205/1.242, allocations: 351.1 kB / 1.141 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/1.265, allocations: 6.834 MB / 1.147 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06774/1.333, allocations: 39.8 MB / 1.186 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/1.337, allocations: 3.106 MB / 1.189 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00289/1.34, allocations: 1.961 MB / 1.191 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/1.34, allocations: 26 kB / 1.191 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/1.34, allocations: 48.03 kB / 1.191 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=179): time 4.118e-06/1.34, allocations: 0 / 1.191 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=182): time 0.02799/1.368, allocations: 9.976 MB / 1.201 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/1.368, allocations: 73.41 kB / 1.201 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/1.371, allocations: 1.522 MB / 1.203 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003215/1.372, allocations: 57.7 kB / 1.203 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001845/1.374, allocations: 2.252 MB / 1.205 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009248/1.375, allocations: 0.6316 MB / 1.205 GB, free: 224 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/1.376, allocations: 403.9 kB / 1.206 GB, free: 15.82 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.376, allocations: 309.1 kB / 1.206 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/1.378, allocations: 1.183 MB / 1.207 GB, free: 14.32 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/1.38, allocations: 1.881 MB / 1.209 GB, free: 12.13 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004898/1.385, allocations: 3.363 MB / 1.212 GB, free: 8.547 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.999e-05/1.385, allocations: 8 kB / 1.212 GB, free: 8.539 MB / 0.92 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008779/1.394, allocations: 4.586 MB / 1.217 GB, free: 4.117 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/1.394, allocations: 22.47 kB / 1.217 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/1.394, allocations: 24 kB / 1.217 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/1.398, allocations: 1.588 MB / 1.218 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/1.399, allocations: 345 kB / 1.219 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/1.425, allocations: 18.59 MB / 1.237 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.427, allocations: 123.9 kB / 1.237 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/1.428, allocations: 96 kB / 1.237 GB, free: 14.87 MB / 0.9512 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.004571/1.432, allocations: 1.893 MB / 1.239 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008471/1.433, allocations: 225.3 kB / 1.239 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008083/1.441, allocations: 4.097 MB / 1.243 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/1.441, allocations: 20 kB / 1.243 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.837e-05/1.441, allocations: 16 kB / 1.243 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/1.441, allocations: 7.969 kB / 1.243 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02336/1.465, allocations: 9.456 MB / 1.253 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/1.465, allocations: 4 kB / 1.253 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009611/1.466, allocations: 181.4 kB / 1.253 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/1.469, allocations: 1.359 MB / 1.254 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002631/1.47, allocations: 36 kB / 1.254 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/1.492, allocations: 17.36 MB / 1.271 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.492, allocations: 4 kB / 1.271 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007565/1.5, allocations: 4.073 MB / 1.275 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.502, allocations: 0.5218 MB / 1.276 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006762/1.502, allocations: 36 kB / 1.276 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.504, allocations: 88.39 kB / 1.276 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000549/1.504, allocations: 167.7 kB / 1.276 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.504, allocations: 48 kB / 1.276 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001808/1.506, allocations: 1.005 MB / 1.277 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.8e-07/1.506, allocations: 0 / 1.277 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004141/1.51, allocations: 0.9844 MB / 1.278 GB, free: 4.637 MB / 0.9825 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.0003482/1.511, allocations: 152.9 kB / 1.278 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007364/1.518, allocations: 4.312 MB / 1.282 GB, free: 200 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.518, allocations: 0 / 1.282 GB, free: 200 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004422/1.523, allocations: 2.656 MB / 1.285 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/1.527, allocations: 0.7762 MB / 1.285 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/1.546, allocations: 8.594 MB / 1.294 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006367/1.553, allocations: 3.577 MB / 1.297 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001755/1.554, allocations: 463.9 kB / 1.298 GB, free: 68 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/1.555, allocations: 123.5 kB / 1.298 GB, free: 15.94 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/1.555, allocations: 0 / 1.298 GB, free: 15.94 MB / 1.014 GB Notification: Performance of Templates: time 0.08123/1.636, allocations: 43.89 MB / 1.341 GB, free: 4.637 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches