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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00117/0.00117, allocations: 108 kB / 15.6 MB, free: 132 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.001424/0.001424, allocations: 192 kB / 16.53 MB, free: 6.391 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.528/1.528, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.89 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.8545, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04038/0.8949, allocations: 34.84 MB / 1.051 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02157/0.9165, allocations: 11.49 MB / 1.063 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005003/0.9216, allocations: 167.2 kB / 1.063 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.9332, allocations: 4.248 MB / 1.067 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007108/0.9403, allocations: 1.994 MB / 1.069 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008117/0.9484, allocations: 2.404 MB / 1.071 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01204/0.9605, allocations: 8.468 MB / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01886/0.9794, allocations: 11.2 MB / 1.09 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007428/0.9869, allocations: 3.72 MB / 1.094 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007899/0.9948, allocations: 4.194 MB / 1.098 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00284/0.9977, allocations: 0.7773 MB / 1.099 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006433/1.004, allocations: 2.032 MB / 1.101 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005609/1.01, allocations: 3.053 MB / 1.104 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.01045/1.02, allocations: 3.4 MB / 1.107 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01925/1.04, allocations: 11.91 MB / 1.119 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/1.04, allocations: 3.938 kB / 1.119 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.234e-06/1.04, allocations: 0 / 1.119 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004754/1.04, allocations: 0 / 1.119 GB, free: 10.19 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.02033/1.06, allocations: 5.787 MB / 1.124 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.061, allocations: 15.97 kB / 1.124 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007989/1.068, allocations: 1.056 MB / 1.125 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00885/1.077, allocations: 3.266 MB / 1.129 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006377/1.078, allocations: 407.5 kB / 1.129 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003778/1.082, allocations: 0.547 MB / 1.13 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/1.113, allocations: 9.083 MB / 1.138 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004316/1.113, allocations: 27.72 kB / 1.138 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002843/1.116, allocations: 232 kB / 1.139 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006398/1.117, allocations: 350.8 kB / 1.139 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02267/1.14, allocations: 6.83 MB / 1.146 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07099/1.211, allocations: 40.1 MB / 1.185 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007047/1.218, allocations: 3.118 MB / 1.188 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004799/1.223, allocations: 1.97 MB / 1.19 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/1.223, allocations: 26 kB / 1.19 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/1.223, allocations: 48.56 kB / 1.19 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 8.445e-06/1.223, allocations: 0 / 1.19 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.0306/1.254, allocations: 9.977 MB / 1.2 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/1.254, allocations: 73.41 kB / 1.2 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/1.257, allocations: 1.526 MB / 1.201 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000172/1.257, allocations: 57.7 kB / 1.201 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001903/1.259, allocations: 2.25 MB / 1.203 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008746/1.26, allocations: 0.6276 MB / 1.204 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008717/1.261, allocations: 407.9 kB / 1.204 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.261, allocations: 305.1 kB / 1.205 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/1.263, allocations: 1.179 MB / 1.206 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/1.265, allocations: 1.885 MB / 1.208 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004842/1.27, allocations: 3.371 MB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/1.27, allocations: 8 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008508/1.278, allocations: 4.576 MB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.053e-05/1.279, allocations: 19.94 kB / 1.216 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/1.279, allocations: 20 kB / 1.216 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003976/1.283, allocations: 1.593 MB / 1.217 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.284, allocations: 355.3 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02605/1.31, allocations: 18.61 MB / 1.236 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/1.312, allocations: 115.9 kB / 1.236 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003548/1.312, allocations: 95.98 kB / 1.236 GB, free: 12.55 MB / 0.9981 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.003625/1.316, allocations: 1.894 MB / 1.238 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/1.317, allocations: 229.3 kB / 1.238 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007912/1.325, allocations: 4.086 MB / 1.242 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/1.325, allocations: 20 kB / 1.242 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-05/1.325, allocations: 20 kB / 1.242 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/1.325, allocations: 15.89 kB / 1.242 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6395/1.964, allocations: 9.464 MB / 1.251 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/1.964, allocations: 4.844 kB / 1.251 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009974/1.965, allocations: 184.4 kB / 1.251 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004099/1.969, allocations: 1.358 MB / 1.253 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/1.97, allocations: 34.33 kB / 1.253 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02379/1.993, allocations: 17.37 MB / 1.27 GB, free: 199 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/1.994, allocations: 7.594 kB / 1.27 GB, free: 199 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007589/2.001, allocations: 4.074 MB / 1.274 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/2.002, allocations: 0.5237 MB / 1.274 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005302/2.003, allocations: 45.28 kB / 1.274 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/2.004, allocations: 89.05 kB / 1.274 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005924/2.005, allocations: 157.6 kB / 1.274 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/2.005, allocations: 47.31 kB / 1.274 GB, free: 197 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002064/2.007, allocations: 1.004 MB / 1.275 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.122e-06/2.007, allocations: 7.453 kB / 1.275 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003959/2.011, allocations: 0.992 MB / 1.276 GB, free: 196.5 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.0003327/2.011, allocations: 138.7 kB / 1.277 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008027/2.019, allocations: 5.188 MB / 1.282 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/2.019, allocations: 3.938 kB / 1.282 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004238/2.024, allocations: 2.669 MB / 1.284 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/2.028, allocations: 0.7849 MB / 1.285 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/2.043, allocations: 8.705 MB / 1.294 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004889/2.048, allocations: 3.572 MB / 1.297 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001551/2.05, allocations: 474.5 kB / 1.297 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/2.05, allocations: 111.4 kB / 1.298 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/2.05, allocations: 0 / 1.298 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07051/2.121, allocations: 43.91 MB / 1.34 GB, free: 143.7 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/jenkins/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