Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005535/0.005535, allocations: 101 kB / 15.87 MB, free: 5.867 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.001279/0.001279, allocations: 191 kB / 16.79 MB, free: 5.809 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.419/1.419, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.384/2.384, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5959, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02228/0.6182, allocations: 23.24 MB / 0.9723 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.6293, allocations: 6.506 MB / 0.9786 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.6319, allocations: 85.81 kB / 0.9787 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.6358, allocations: 1.345 MB / 0.98 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004553/0.6404, allocations: 1.751 MB / 0.9817 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.6443, allocations: 1.332 MB / 0.983 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01091/0.6552, allocations: 10.6 MB / 0.9934 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.6669, allocations: 7.625 MB / 1.001 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.6714, allocations: 2.409 MB / 1.003 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005405/0.6768, allocations: 3.607 MB / 1.007 GB, free: 7.414 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.6783, allocations: 380 kB / 1.007 GB, free: 7.043 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.6817, allocations: 1.193 MB / 1.008 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003452/0.6852, allocations: 2.315 MB / 1.011 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004533/0.6897, allocations: 2.345 MB / 1.013 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007463/0.6972, allocations: 7.195 MB / 1.02 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.6972, allocations: 4 kB / 1.02 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6972, allocations: 0 / 1.02 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002469/0.6975, allocations: 0 / 1.02 GB, free: 9.957 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01018/0.7077, allocations: 4.428 MB / 1.024 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7077, allocations: 12.03 kB / 1.024 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008659/0.7164, allocations: 1.677 MB / 1.026 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00506/0.7215, allocations: 2.571 MB / 1.028 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.7218, allocations: 275.7 kB / 1.029 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.7228, allocations: 360.3 kB / 1.029 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/0.7358, allocations: 7.487 MB / 1.036 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.611e-05/0.736, allocations: 19.78 kB / 1.036 GB, free: 8.746 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004925/0.7365, allocations: 159.9 kB / 1.036 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005586/0.737, allocations: 487.3 kB / 1.037 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.7475, allocations: 5.697 MB / 1.042 GB, free: 2.41 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03645/0.784, allocations: 31.73 MB / 1.073 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/0.787, allocations: 2.082 MB / 1.075 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/0.79, allocations: 2.178 MB / 1.078 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.7901, allocations: 13.31 kB / 1.078 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.7902, allocations: 55.86 kB / 1.078 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=146): time 3.006e-06/0.7902, allocations: 0 / 1.078 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=251): time 0.2848/1.075, allocations: 76.99 MB / 1.153 GB, free: 14.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/1.075, allocations: 77.41 kB / 1.153 GB, free: 14.32 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/1.078, allocations: 1.67 MB / 1.155 GB, free: 12.61 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005109/1.078, allocations: 73.62 kB / 1.155 GB, free: 12.53 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/1.08, allocations: 1.743 MB / 1.156 GB, free: 10.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.081, allocations: 0.8548 MB / 1.157 GB, free: 9.898 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/1.082, allocations: 485.2 kB / 1.158 GB, free: 9.418 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.268e-05/1.082, allocations: 301.1 kB / 1.158 GB, free: 9.121 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004103/1.086, allocations: 2.73 MB / 1.161 GB, free: 6.387 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/1.091, allocations: 3.332 MB / 1.164 GB, free: 2.809 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009201/1.1, allocations: 6.393 MB / 1.17 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-05/1.1, allocations: 8 kB / 1.17 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03349/1.134, allocations: 14.67 MB / 1.184 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/1.134, allocations: 12 kB / 1.184 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.676e-05/1.134, allocations: 19.94 kB / 1.184 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03036/1.164, allocations: 9.247 MB / 1.193 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.165, allocations: 303.4 kB / 1.194 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07707/1.242, allocations: 47.44 MB / 1.24 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/1.245, allocations: 223.7 kB / 1.24 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000524/1.246, allocations: 96 kB / 1.24 GB, free: 3.25 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003074/1.249, allocations: 1.593 MB / 1.242 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007344/1.25, allocations: 245.1 kB / 1.242 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03224/1.282, allocations: 14.75 MB / 1.257 GB, free: 2.598 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/1.282, allocations: 28 kB / 1.257 GB, free: 2.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001409/1.282, allocations: 44 kB / 1.257 GB, free: 2.527 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.877e-05/1.282, allocations: 11.95 kB / 1.257 GB, free: 2.516 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4986/1.781, allocations: 20.52 MB / 1.277 GB, free: 273.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.673e-05/1.781, allocations: 6.75 kB / 1.277 GB, free: 273.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/1.782, allocations: 162.4 kB / 1.277 GB, free: 273.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02732/1.809, allocations: 9.009 MB / 1.286 GB, free: 272.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004471/1.809, allocations: 51.81 kB / 1.286 GB, free: 272.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05886/1.868, allocations: 47.02 MB / 1.332 GB, free: 238.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.868, allocations: 8 kB / 1.332 GB, free: 238.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02651/1.895, allocations: 14.37 MB / 1.346 GB, free: 224.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/1.897, allocations: 0.8416 MB / 1.346 GB, free: 223.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005992/1.898, allocations: 48 kB / 1.347 GB, free: 223.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/1.899, allocations: 211.7 kB / 1.347 GB, free: 223 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001346/1.901, allocations: 245.4 kB / 1.347 GB, free: 222.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002194/1.901, allocations: 68 kB / 1.347 GB, free: 222.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001354/1.902, allocations: 1.129 MB / 1.348 GB, free: 221.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/1.902, allocations: 0 / 1.348 GB, free: 221.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00473/1.907, allocations: 1.613 MB / 1.35 GB, free: 219.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004095/1.908, allocations: 158.9 kB / 1.35 GB, free: 219.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01806/1.926, allocations: 10.53 MB / 1.36 GB, free: 209.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/1.926, allocations: 0 / 1.36 GB, free: 209.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01453/1.94, allocations: 7.322 MB / 1.367 GB, free: 201.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/1.943, allocations: 0.5087 MB / 1.368 GB, free: 201.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.957, allocations: 11.24 MB / 1.379 GB, free: 190 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003093/1.96, allocations: 3.301 MB / 1.382 GB, free: 186.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/1.961, allocations: 115.4 kB / 1.382 GB, free: 186.6 MB / 1.014 GB Notification: Performance of SimCode: time 7.81e-07/1.961, allocations: 0 / 1.382 GB, free: 186.6 MB / 1.014 GB Notification: Performance of Templates: time 0.1407/2.101, allocations: 187.6 MB / 1.565 GB, free: 14.88 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches