Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001092/0.001092, allocations: 114.5 kB / 16.37 MB, free: 5.984 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.001066/0.001066, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.543/2.543, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 58.72 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3175, allocations: 151.7 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02566/0.3432, allocations: 23.41 MB / 1.042 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.3549, allocations: 6.484 MB / 1.048 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.3576, allocations: 95.5 kB / 1.048 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00444/0.362, allocations: 1.504 MB / 1.05 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.3671, allocations: 1.82 MB / 1.051 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.371, allocations: 1.453 MB / 1.053 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008221/0.3792, allocations: 6.908 MB / 1.06 GB, free: 0 / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008577/0.3878, allocations: 6.945 MB / 1.066 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004793/0.3926, allocations: 2.843 MB / 1.069 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005896/0.3986, allocations: 3.474 MB / 1.072 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.3997, allocations: 0.5312 MB / 1.073 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.4023, allocations: 1.17 MB / 1.074 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.5018/0.9041, allocations: 2.457 MB / 1.077 GB, free: 28.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01088/0.915, allocations: 2.534 MB / 1.079 GB, free: 28.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.9322, allocations: 8.516 MB / 1.087 GB, free: 27.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9322, allocations: 3.094 kB / 1.087 GB, free: 27.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.417e-06/0.9323, allocations: 1.312 kB / 1.087 GB, free: 27.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000317/0.9326, allocations: 3.938 kB / 1.087 GB, free: 27.93 MB / 0.8419 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.01657/0.9492, allocations: 4.431 MB / 1.092 GB, free: 26.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.9492, allocations: 12.94 kB / 1.092 GB, free: 26.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009777/0.959, allocations: 1.683 MB / 1.093 GB, free: 25.94 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008837/0.9679, allocations: 2.69 MB / 1.096 GB, free: 25.35 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/0.9683, allocations: 278.2 kB / 1.096 GB, free: 25.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/0.9705, allocations: 359.9 kB / 1.097 GB, free: 25.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/0.9902, allocations: 7.486 MB / 1.104 GB, free: 23.71 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.9903, allocations: 27.17 kB / 1.104 GB, free: 23.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008214/0.9912, allocations: 163.5 kB / 1.104 GB, free: 23.6 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007095/0.9919, allocations: 485.6 kB / 1.104 GB, free: 23.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/1.007, allocations: 5.696 MB / 1.11 GB, free: 21.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04453/1.052, allocations: 31.5 MB / 1.141 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00354/1.055, allocations: 2.093 MB / 1.143 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00337/1.059, allocations: 2.177 MB / 1.145 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/1.059, allocations: 14.91 kB / 1.145 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/1.059, allocations: 49.36 kB / 1.145 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=146): time 3.566e-06/1.059, allocations: 0 / 1.145 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=251): time 0.2869/1.346, allocations: 77 MB / 1.22 GB, free: 8.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/1.346, allocations: 77.41 kB / 1.22 GB, free: 8.844 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/1.349, allocations: 1.666 MB / 1.222 GB, free: 7.133 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006212/1.349, allocations: 65.7 kB / 1.222 GB, free: 7.062 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/1.351, allocations: 1.745 MB / 1.224 GB, free: 5.301 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001214/1.352, allocations: 0.8507 MB / 1.225 GB, free: 4.457 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/1.353, allocations: 497.1 kB / 1.225 GB, free: 3.965 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.353, allocations: 305.1 kB / 1.225 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/1.357, allocations: 2.726 MB / 1.228 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004402/1.362, allocations: 3.331 MB / 1.231 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008518/1.37, allocations: 6.391 MB / 1.237 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/1.37, allocations: 8 kB / 1.237 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03296/1.403, allocations: 14.68 MB / 1.252 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/1.403, allocations: 12.94 kB / 1.252 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/1.403, allocations: 16 kB / 1.252 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02976/1.433, allocations: 9.247 MB / 1.261 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.435, allocations: 295.2 kB / 1.261 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08317/1.518, allocations: 52.36 MB / 1.312 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/1.522, allocations: 223.7 kB / 1.312 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.523, allocations: 99.98 kB / 1.313 GB, free: 9.371 MB / 1.014 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.004858/1.528, allocations: 1.578 MB / 1.314 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.529, allocations: 253 kB / 1.314 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0342/1.563, allocations: 14.76 MB / 1.329 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/1.563, allocations: 24 kB / 1.329 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001363/1.563, allocations: 44 kB / 1.329 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-05/1.564, allocations: 11.95 kB / 1.329 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0434/1.607, allocations: 20.52 MB / 1.349 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/1.607, allocations: 4 kB / 1.349 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007949/1.608, allocations: 162.9 kB / 1.349 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02835/1.636, allocations: 9.005 MB / 1.358 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006666/1.637, allocations: 48 kB / 1.358 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0788/1.716, allocations: 51.9 MB / 1.409 GB, free: 6.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.716, allocations: 11 kB / 1.409 GB, free: 6.512 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03011/1.746, allocations: 14.37 MB / 1.423 GB, free: 8.207 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002841/1.749, allocations: 0.8416 MB / 1.423 GB, free: 7.344 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006748/1.749, allocations: 59.94 kB / 1.424 GB, free: 7.285 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/1.751, allocations: 211.7 kB / 1.424 GB, free: 7.078 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001341/1.753, allocations: 240.2 kB / 1.424 GB, free: 6.852 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/1.753, allocations: 68 kB / 1.424 GB, free: 6.785 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00157/1.755, allocations: 1.121 MB / 1.425 GB, free: 5.641 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.755, allocations: 0 / 1.425 GB, free: 5.641 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00492/1.76, allocations: 1.617 MB / 1.427 GB, free: 4.023 MB / 1.123 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.0004054/1.76, allocations: 160.4 kB / 1.427 GB, free: 3.867 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02174/1.782, allocations: 10.55 MB / 1.437 GB, free: 9.328 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.782, allocations: 4 kB / 1.437 GB, free: 9.324 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.01692/1.799, allocations: 7.312 MB / 1.444 GB, free: 1.977 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/1.802, allocations: 0.559 MB / 1.445 GB, free: 1.434 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.82, allocations: 8.687 MB / 1.453 GB, free: 8.676 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003892/1.823, allocations: 3.224 MB / 1.456 GB, free: 5.414 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001298/1.825, allocations: 391.3 kB / 1.457 GB, free: 5.027 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/1.825, allocations: 103.4 kB / 1.457 GB, free: 4.926 MB / 1.154 GB Notification: Performance of SimCode: time 1.523e-06/1.825, allocations: 0 / 1.457 GB, free: 4.926 MB / 1.154 GB Notification: Performance of Templates: time 0.745/2.57, allocations: 91.84 MB / 1.547 GB, free: 416.9 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches