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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008061/0.0008061, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009004/0.0009003, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7051/0.7055, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03664/0.7422, allocations: 33.72 MB / 0.9887 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01989/0.7621, allocations: 11.38 MB / 0.9998 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.7658, allocations: 139.2 kB / 0.9999 GB, free: 1.996 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.7688, allocations: 0.6938 MB / 1.001 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006355/0.7752, allocations: 1.871 MB / 1.002 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005488/0.7807, allocations: 1.998 MB / 1.004 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01346/0.7942, allocations: 12.4 MB / 1.016 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02269/0.817, allocations: 14.34 MB / 1.03 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005441/0.8225, allocations: 2.618 MB / 1.033 GB, free: 15.91 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00595/0.8284, allocations: 3.554 MB / 1.036 GB, free: 12.35 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.8296, allocations: 328 kB / 1.037 GB, free: 12.03 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00459/0.8342, allocations: 1.914 MB / 1.039 GB, free: 10.11 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003567/0.8378, allocations: 2.459 MB / 1.041 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004149/0.842, allocations: 2.734 MB / 1.044 GB, free: 4.891 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.853, allocations: 9.968 MB / 1.053 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.8531, allocations: 0 / 1.053 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8531, allocations: 4 kB / 1.053 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003548/0.8534, allocations: 0 / 1.053 GB, free: 10.89 MB / 0.8106 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.01105/0.8645, allocations: 4.66 MB / 1.058 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.8646, allocations: 8.031 kB / 1.058 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006653/0.8712, allocations: 1.067 MB / 1.059 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006948/0.8782, allocations: 3.262 MB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.8786, allocations: 411.5 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/0.8802, allocations: 0.5392 MB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02085/0.9011, allocations: 9.079 MB / 1.072 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002684/0.9014, allocations: 31.77 kB / 1.072 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/0.9027, allocations: 232 kB / 1.072 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004303/0.9032, allocations: 350.8 kB / 1.073 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.9178, allocations: 6.83 MB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0495/0.9673, allocations: 40.19 MB / 1.119 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/0.9715, allocations: 3.113 MB / 1.122 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/0.9744, allocations: 1.947 MB / 1.124 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.9746, allocations: 21.98 kB / 1.124 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.9747, allocations: 56.5 kB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=179): time 3.727e-06/0.9747, allocations: 0 / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.02666/1.001, allocations: 10.04 MB / 1.133 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/1.001, allocations: 73.41 kB / 1.133 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/1.004, allocations: 1.526 MB / 1.135 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002381/1.004, allocations: 61.64 kB / 1.135 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001539/1.006, allocations: 2.253 MB / 1.137 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007599/1.007, allocations: 0.6277 MB / 1.138 GB, free: 8 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/1.007, allocations: 178.1 kB / 1.138 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.007, allocations: 309.1 kB / 1.138 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/1.009, allocations: 1.176 MB / 1.139 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/1.011, allocations: 1.885 MB / 1.141 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004468/1.016, allocations: 3.375 MB / 1.145 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/1.016, allocations: 8 kB / 1.145 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008213/1.024, allocations: 4.569 MB / 1.149 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/1.024, allocations: 17.39 kB / 1.149 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/1.024, allocations: 24 kB / 1.149 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004037/1.028, allocations: 1.586 MB / 1.151 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.03, allocations: 347.4 kB / 1.151 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0229/1.053, allocations: 17.07 MB / 1.168 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/1.054, allocations: 119.9 kB / 1.168 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003364/1.055, allocations: 96 kB / 1.168 GB, free: 60 kB / 0.92 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.003409/1.058, allocations: 1.898 MB / 1.17 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/1.059, allocations: 221.4 kB / 1.17 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007323/1.066, allocations: 4.09 MB / 1.174 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/1.066, allocations: 20 kB / 1.174 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.215e-05/1.066, allocations: 19.98 kB / 1.174 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/1.066, allocations: 7.969 kB / 1.174 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.082, allocations: 9.47 MB / 1.183 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.082, allocations: 4 kB / 1.183 GB, free: 40 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/1.083, allocations: 175.7 kB / 1.183 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003575/1.086, allocations: 1.356 MB / 1.185 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/1.086, allocations: 39.98 kB / 1.185 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02307/1.109, allocations: 15.97 MB / 1.2 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/1.109, allocations: 11.94 kB / 1.2 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007467/1.117, allocations: 4.061 MB / 1.204 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.118, allocations: 0.5295 MB / 1.205 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004881/1.119, allocations: 36.5 kB / 1.205 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.12, allocations: 91.83 kB / 1.205 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005005/1.12, allocations: 165.6 kB / 1.205 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/1.121, allocations: 52 kB / 1.205 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001639/1.122, allocations: 1.005 MB / 1.206 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.122, allocations: 3.938 kB / 1.206 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003281/1.125, allocations: 0.9883 MB / 1.207 GB, free: 6.887 MB / 0.9669 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.0003172/1.126, allocations: 148.9 kB / 1.207 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007316/1.133, allocations: 4.308 MB / 1.211 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.133, allocations: 0 / 1.211 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004416/1.138, allocations: 2.674 MB / 1.214 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004974/1.143, allocations: 0.7111 MB / 1.215 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.161, allocations: 11.79 MB / 1.226 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005376/1.167, allocations: 3.666 MB / 1.23 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/1.167, allocations: 131.4 kB / 1.23 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.167, allocations: 0 / 1.23 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of Templates: time 0.6868/1.854, allocations: 158.8 MB / 1.385 GB, free: 172.8 MB / 1.014 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/jenkins1/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