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.00194/0.00194, allocations: 108 kB / 15.61 MB, free: 152 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.002331/0.002331, allocations: 193 kB / 16.53 MB, free: 6.664 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.597/1.597, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.844/2.844, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7643/0.7664, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04477/0.8112, allocations: 34.84 MB / 1.051 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02154/0.8328, allocations: 11.5 MB / 1.063 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003458/0.8363, allocations: 163.2 kB / 1.063 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01172/0.8481, allocations: 4.245 MB / 1.067 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00693/0.8551, allocations: 1.994 MB / 1.069 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007407/0.8625, allocations: 2.408 MB / 1.071 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01251/0.8751, allocations: 8.464 MB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02067/0.8958, allocations: 11.21 MB / 1.09 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007476/0.9033, allocations: 3.72 MB / 1.094 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008833/0.9122, allocations: 4.187 MB / 1.098 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.003231/0.9155, allocations: 0.7812 MB / 1.099 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007105/0.9226, allocations: 2.028 MB / 1.101 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00653/0.9292, allocations: 3.057 MB / 1.104 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.008472/0.9377, allocations: 3.393 MB / 1.107 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01953/0.9572, allocations: 11.91 MB / 1.119 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.9573, allocations: 3.938 kB / 1.119 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.366e-06/0.9573, allocations: 0 / 1.119 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004375/0.9577, allocations: 0 / 1.119 GB, free: 10.24 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.01926/0.977, allocations: 5.795 MB / 1.124 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.9771, allocations: 12.03 kB / 1.124 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007588/0.9847, allocations: 1.06 MB / 1.125 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007741/0.9924, allocations: 3.255 MB / 1.129 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005032/0.993, allocations: 415.5 kB / 1.129 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/0.9952, allocations: 0.543 MB / 1.13 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02542/1.021, allocations: 9.083 MB / 1.138 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/1.021, allocations: 23.78 kB / 1.138 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002052/1.023, allocations: 248 kB / 1.139 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006095/1.024, allocations: 346.8 kB / 1.139 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/1.041, allocations: 6.826 MB / 1.146 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06551/1.106, allocations: 40.11 MB / 1.185 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005001/1.111, allocations: 3.115 MB / 1.188 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003449/1.115, allocations: 1.974 MB / 1.19 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/1.115, allocations: 18 kB / 1.19 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/1.115, allocations: 52.56 kB / 1.19 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 9.638e-06/1.115, allocations: 4 kB / 1.19 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.02776/1.143, allocations: 9.977 MB / 1.2 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/1.143, allocations: 69.41 kB / 1.2 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/1.146, allocations: 1.522 MB / 1.201 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/1.146, allocations: 53.7 kB / 1.201 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002104/1.148, allocations: 2.253 MB / 1.203 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009779/1.149, allocations: 0.6316 MB / 1.204 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009399/1.15, allocations: 407.9 kB / 1.204 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.15, allocations: 309 kB / 1.205 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/1.152, allocations: 1.179 MB / 1.206 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/1.155, allocations: 1.885 MB / 1.208 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00504/1.16, allocations: 3.371 MB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.622e-05/1.16, allocations: 4 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.009019/1.169, allocations: 4.581 MB / 1.216 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/1.169, allocations: 23.92 kB / 1.216 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/1.169, allocations: 24 kB / 1.216 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004175/1.173, allocations: 1.585 MB / 1.217 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/1.175, allocations: 351.5 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02688/1.202, allocations: 18.61 MB / 1.236 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/1.204, allocations: 115.9 kB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/1.205, allocations: 99.98 kB / 1.236 GB, free: 12.6 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.00426/1.209, allocations: 1.89 MB / 1.238 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006951/1.209, allocations: 225.4 kB / 1.238 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007959/1.217, allocations: 4.086 MB / 1.242 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/1.218, allocations: 20 kB / 1.242 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.876e-05/1.218, allocations: 16 kB / 1.242 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/1.218, allocations: 11.95 kB / 1.242 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6553/1.873, allocations: 9.475 MB / 1.251 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.873, allocations: 3.875 kB / 1.251 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009865/1.874, allocations: 183.7 kB / 1.251 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003965/1.878, allocations: 1.367 MB / 1.253 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/1.878, allocations: 33.31 kB / 1.253 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02356/1.902, allocations: 17.36 MB / 1.27 GB, free: 199.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.902, allocations: 8.141 kB / 1.27 GB, free: 199.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007102/1.909, allocations: 4.077 MB / 1.274 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.91, allocations: 0.5245 MB / 1.274 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/1.91, allocations: 35.97 kB / 1.274 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009359/1.911, allocations: 92.31 kB / 1.274 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005737/1.912, allocations: 159.6 kB / 1.274 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.912, allocations: 48.5 kB / 1.275 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001274/1.913, allocations: 1.002 MB / 1.275 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.913, allocations: 2.078 kB / 1.275 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003073/1.916, allocations: 0.986 MB / 1.276 GB, free: 196.7 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.0002605/1.917, allocations: 150.5 kB / 1.277 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007288/1.924, allocations: 5.188 MB / 1.282 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.924, allocations: 0 / 1.282 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004586/1.929, allocations: 2.669 MB / 1.284 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/1.932, allocations: 0.7887 MB / 1.285 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/1.948, allocations: 8.698 MB / 1.294 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004098/1.952, allocations: 3.578 MB / 1.297 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001485/1.954, allocations: 466 kB / 1.297 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/1.954, allocations: 111.4 kB / 1.298 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.954, allocations: 4 kB / 1.298 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06523/2.019, allocations: 43.91 MB / 1.34 GB, free: 143.9 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=400 -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