Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 99.58 kB / 16.02 MB, free: 76 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.001202/0.001202, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 462.7 MB / 0.7371 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.000432, allocations: 10.41 kB / 0.9034 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3343, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01609/0.3504, allocations: 9.594 MB / 1.069 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007823/0.3583, allocations: 3.151 MB / 1.072 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.3595, allocations: 27.81 kB / 1.072 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008086/0.3603, allocations: 182.7 kB / 1.072 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.3629, allocations: 0.7081 MB / 1.073 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.365, allocations: 0.6347 MB / 1.073 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006532/0.3716, allocations: 4.478 MB / 1.078 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00707/0.3787, allocations: 3.162 MB / 1.081 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.3812, allocations: 0.9417 MB / 1.082 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.3845, allocations: 1.453 MB / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007243/0.3853, allocations: 112 kB / 1.083 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.387, allocations: 463.2 kB / 1.084 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00197/0.389, allocations: 0.9198 MB / 1.085 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.3915, allocations: 0.9735 MB / 1.085 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004829/0.3963, allocations: 3.016 MB / 1.088 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3964, allocations: 0 / 1.088 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.387e-06/0.3964, allocations: 0 / 1.088 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001103/0.3965, allocations: 0 / 1.088 GB, free: 6.941 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005842/0.4023, allocations: 1.764 MB / 1.09 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4024, allocations: 11.97 kB / 1.09 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01459/0.417, allocations: 1.313 MB / 1.091 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/0.4209, allocations: 1.259 MB / 1.093 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.4211, allocations: 119.4 kB / 1.093 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.4222, allocations: 144.3 kB / 1.093 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009603/0.4318, allocations: 3.448 MB / 1.096 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.007e-05/0.4319, allocations: 0 / 1.096 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005262/0.4325, allocations: 67.91 kB / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003182/0.4328, allocations: 203.1 kB / 1.097 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006268/0.4391, allocations: 3.135 MB / 1.1 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0202/0.4593, allocations: 13.58 MB / 1.113 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.4621, allocations: 1.731 MB / 1.115 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002156/0.4643, allocations: 1.429 MB / 1.116 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.4645, allocations: 13 kB / 1.116 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.4645, allocations: 47.55 kB / 1.116 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 3.006e-06/0.4645, allocations: 0 / 1.116 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.1539/0.6184, allocations: 35.97 MB / 1.151 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.6186, allocations: 73.41 kB / 1.151 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.6203, allocations: 1.046 MB / 1.152 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004119/0.6207, allocations: 57.7 kB / 1.152 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000558/0.6213, allocations: 0.7873 MB / 1.153 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008808/0.6222, allocations: 0.6239 MB / 1.154 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/0.6227, allocations: 157.6 kB / 1.154 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6228, allocations: 301.1 kB / 1.154 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003091/0.6259, allocations: 1.928 MB / 1.156 GB, free: 448 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/0.629, allocations: 2.289 MB / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006344/0.6354, allocations: 4.394 MB / 1.163 GB, free: 9.504 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.6355, allocations: 4 kB / 1.163 GB, free: 9.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02228/0.6577, allocations: 9.02 MB / 1.171 GB, free: 464 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.6578, allocations: 14.03 kB / 1.171 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.6579, allocations: 16 kB / 1.171 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01846/0.6763, allocations: 4.975 MB / 1.176 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.6773, allocations: 191.7 kB / 1.176 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05774/0.735, allocations: 35.14 MB / 1.211 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.7372, allocations: 103.8 kB / 1.211 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/0.7375, allocations: 68 kB / 1.211 GB, free: 7.371 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001659/0.7392, allocations: 0.8022 MB / 1.212 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.7396, allocations: 142.3 kB / 1.212 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02156/0.7612, allocations: 8.894 MB / 1.22 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.7612, allocations: 20 kB / 1.22 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.819e-05/0.7613, allocations: 28 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/0.7614, allocations: 7.969 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/0.7899, allocations: 13.27 MB / 1.233 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.691e-05/0.79, allocations: 4.047 kB / 1.233 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.7905, allocations: 119.8 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01712/0.8077, allocations: 4.759 MB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003199/0.808, allocations: 40 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5932/1.401, allocations: 31.44 MB / 1.269 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/1.401, allocations: 4.656 kB / 1.269 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/1.422, allocations: 8.405 MB / 1.277 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/1.424, allocations: 0.6133 MB / 1.278 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/1.424, allocations: 38.69 kB / 1.278 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.425, allocations: 88.33 kB / 1.278 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009529/1.426, allocations: 167.7 kB / 1.278 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.427, allocations: 46.12 kB / 1.278 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009992/1.428, allocations: 0.7366 MB / 1.279 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.428, allocations: 3.938 kB / 1.279 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003459/1.431, allocations: 1.003 MB / 1.28 GB, free: 170.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003434/1.431, allocations: 147 kB / 1.28 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009257/1.441, allocations: 5.833 MB / 1.286 GB, free: 168 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.441, allocations: 1.062 kB / 1.286 GB, free: 168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007519/1.448, allocations: 3.813 MB / 1.289 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/1.45, allocations: 229.1 kB / 1.29 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/1.457, allocations: 6.085 MB / 1.296 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/1.459, allocations: 1.895 MB / 1.297 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/1.459, allocations: 68.86 kB / 1.297 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/1.459, allocations: 2 kB / 1.297 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.05767/1.517, allocations: 68.79 MB / 1.365 GB, free: 98.48 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches