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.0009324/0.0009326, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008918/0.0008918, allocations: 188.1 kB / 16.92 MB, free: 6.77 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.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.782/2.782, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 12 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.6677, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03786/0.7056, allocations: 33.72 MB / 1.057 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.7253, allocations: 11.38 MB / 1.068 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003344/0.7287, allocations: 135.2 kB / 1.068 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.7318, allocations: 0.6899 MB / 1.069 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006864/0.7387, allocations: 1.867 MB / 1.07 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006176/0.7449, allocations: 2.004 MB / 1.072 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0139/0.7588, allocations: 12.41 MB / 1.084 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02479/0.7837, allocations: 14.33 MB / 1.098 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005327/0.789, allocations: 2.622 MB / 1.101 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006358/0.7954, allocations: 3.55 MB / 1.104 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001688/0.7971, allocations: 328 kB / 1.105 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004719/0.8019, allocations: 1.914 MB / 1.107 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004572/0.8065, allocations: 2.451 MB / 1.109 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006788/0.8133, allocations: 2.738 MB / 1.112 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.8249, allocations: 9.976 MB / 1.121 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8249, allocations: 4 kB / 1.121 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8249, allocations: 0 / 1.121 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003863/0.8253, allocations: 4 kB / 1.121 GB, free: 11.39 MB / 0.8731 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.0116/0.8369, allocations: 4.652 MB / 1.126 GB, free: 6.672 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.837, allocations: 16.02 kB / 1.126 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007228/0.8442, allocations: 1.064 MB / 1.127 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006513/0.8508, allocations: 3.247 MB / 1.13 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004271/0.8512, allocations: 419.5 kB / 1.131 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/0.853, allocations: 0.5353 MB / 1.131 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02106/0.874, allocations: 9.079 MB / 1.14 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002763/0.8744, allocations: 35.7 kB / 1.14 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/0.8757, allocations: 236 kB / 1.14 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000436/0.8762, allocations: 346.8 kB / 1.141 GB, free: 7.332 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.8903, allocations: 6.826 MB / 1.147 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04472/0.9351, allocations: 40.19 MB / 1.187 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.939, allocations: 3.11 MB / 1.19 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002691/0.9417, allocations: 1.943 MB / 1.191 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.9418, allocations: 25.98 kB / 1.192 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.9419, allocations: 48.56 kB / 1.192 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 3.456e-06/0.9419, allocations: 0 / 1.192 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.02574/0.9676, allocations: 10.05 MB / 1.201 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.9677, allocations: 69.41 kB / 1.201 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.97, allocations: 1.53 MB / 1.203 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.9702, allocations: 53.7 kB / 1.203 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.9717, allocations: 2.253 MB / 1.205 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006474/0.9723, allocations: 0.6316 MB / 1.206 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.9726, allocations: 186.1 kB / 1.206 GB, free: 356 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.9727, allocations: 305.1 kB / 1.206 GB, free: 48 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.9745, allocations: 1.176 MB / 1.207 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.9767, allocations: 1.885 MB / 1.209 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004306/0.981, allocations: 3.371 MB / 1.213 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/0.9811, allocations: 8 kB / 1.213 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008312/0.9894, allocations: 4.577 MB / 1.217 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.9895, allocations: 16 kB / 1.217 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/0.9895, allocations: 20 kB / 1.217 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004005/0.9935, allocations: 1.579 MB / 1.219 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.9949, allocations: 355.3 kB / 1.219 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/1.017, allocations: 17.07 MB / 1.236 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.019, allocations: 115.9 kB / 1.236 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003308/1.02, allocations: 99.98 kB / 1.236 GB, free: 0.5859 MB / 0.9825 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.0036/1.023, allocations: 1.899 MB / 1.238 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005977/1.024, allocations: 225.3 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007744/1.032, allocations: 4.094 MB / 1.242 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/1.032, allocations: 16 kB / 1.242 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.662e-05/1.032, allocations: 16 kB / 1.242 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/1.032, allocations: 11.95 kB / 1.242 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.05, allocations: 9.462 MB / 1.251 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.05, allocations: 8 kB / 1.251 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008432/1.05, allocations: 183.7 kB / 1.251 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5662/1.617, allocations: 1.348 MB / 1.253 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/1.617, allocations: 36.08 kB / 1.253 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02324/1.64, allocations: 15.98 MB / 1.268 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.64, allocations: 6.578 kB / 1.268 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00782/1.648, allocations: 4.073 MB / 1.272 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/1.649, allocations: 0.5276 MB / 1.273 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/1.65, allocations: 36.98 kB / 1.273 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/1.651, allocations: 86.77 kB / 1.273 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006514/1.652, allocations: 164.6 kB / 1.273 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.652, allocations: 48.12 kB / 1.273 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001612/1.653, allocations: 1.002 MB / 1.274 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.653, allocations: 5.719 kB / 1.274 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00419/1.658, allocations: 0.9851 MB / 1.275 GB, free: 196.8 MB / 0.9981 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.000349/1.658, allocations: 147.8 kB / 1.275 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007459/1.665, allocations: 4.29 MB / 1.279 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.665, allocations: 0 / 1.279 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004397/1.67, allocations: 2.688 MB / 1.282 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005377/1.675, allocations: 0.7154 MB / 1.283 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.691, allocations: 11.79 MB / 1.294 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004305/1.696, allocations: 3.663 MB / 1.298 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/1.696, allocations: 128.9 kB / 1.298 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.696, allocations: 0 / 1.298 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.1504/1.847, allocations: 158.8 MB / 1.453 GB, free: 30.15 MB / 0.9981 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 -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