Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_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_latest_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_latest_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.005438/0.005438, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001184/0.001184, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.592/2.592, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 68.03 kB / 1.054 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8998/0.9012, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02496/0.9262, allocations: 23.43 MB / 1.231 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.9385, allocations: 6.476 MB / 1.237 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.9413, allocations: 99.5 kB / 1.237 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004542/0.9459, allocations: 1.495 MB / 1.238 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.9509, allocations: 1.824 MB / 1.24 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.9547, allocations: 1.463 MB / 1.242 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008466/0.9632, allocations: 6.904 MB / 1.248 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00856/0.9718, allocations: 6.941 MB / 1.255 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004627/0.9764, allocations: 2.882 MB / 1.258 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005161/0.9816, allocations: 3.47 MB / 1.261 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001/0.9826, allocations: 0.5273 MB / 1.262 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.985, allocations: 1.174 MB / 1.263 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00225/0.9873, allocations: 2.464 MB / 1.265 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003068/0.9904, allocations: 2.536 MB / 1.268 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008007/0.9984, allocations: 8.513 MB / 1.276 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.9984, allocations: 4 kB / 1.276 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9985, allocations: 4 kB / 1.276 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002366/0.9987, allocations: 0 / 1.276 GB, free: 7.113 MB / 0.9981 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.009493/1.008, allocations: 4.424 MB / 1.281 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.008, allocations: 12.03 kB / 1.281 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008727/1.017, allocations: 1.681 MB / 1.282 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006858/1.024, allocations: 2.692 MB / 1.285 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/1.024, allocations: 279.7 kB / 1.285 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/1.025, allocations: 368.2 kB / 1.286 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/1.038, allocations: 7.483 MB / 1.293 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.885e-05/1.038, allocations: 15.88 kB / 1.293 GB, free: 5.773 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000435/1.039, allocations: 163.9 kB / 1.293 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005295/1.039, allocations: 491.3 kB / 1.293 GB, free: 5.133 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008874/1.048, allocations: 5.697 MB / 1.299 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03306/1.081, allocations: 31.5 MB / 1.33 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/1.084, allocations: 2.09 MB / 1.332 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/1.086, allocations: 2.186 MB / 1.334 GB, free: 8.875 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/1.087, allocations: 17.3 kB / 1.334 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/1.087, allocations: 43.88 kB / 1.334 GB, free: 8.805 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 3.978e-06/1.087, allocations: 0 / 1.334 GB, free: 8.805 MB / 1.061 GB Notification: Performance of matching and sorting (n=251): time 0.3104/1.397, allocations: 77.02 MB / 1.409 GB, free: 11.63 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/1.397, allocations: 77.41 kB / 1.409 GB, free: 11.55 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/1.4, allocations: 1.674 MB / 1.411 GB, free: 9.828 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004215/1.4, allocations: 65.7 kB / 1.411 GB, free: 9.758 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/1.401, allocations: 1.743 MB / 1.413 GB, free: 7.992 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009788/1.402, allocations: 0.851 MB / 1.414 GB, free: 7.129 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009667/1.403, allocations: 485.2 kB / 1.414 GB, free: 6.648 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.551e-05/1.403, allocations: 301.1 kB / 1.414 GB, free: 6.352 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/1.407, allocations: 2.738 MB / 1.417 GB, free: 3.609 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/1.41, allocations: 3.328 MB / 1.42 GB, free: 36 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007726/1.418, allocations: 6.393 MB / 1.426 GB, free: 9.402 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.418, allocations: 4 kB / 1.426 GB, free: 9.398 MB / 1.154 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03129/1.45, allocations: 14.67 MB / 1.441 GB, free: 10.68 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/1.45, allocations: 13.88 kB / 1.441 GB, free: 10.66 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/1.45, allocations: 20.91 kB / 1.441 GB, free: 10.64 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02951/1.479, allocations: 9.24 MB / 1.45 GB, free: 1.379 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.48, allocations: 303.5 kB / 1.45 GB, free: 1.082 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0806/1.561, allocations: 52.35 MB / 1.501 GB, free: 11.85 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/1.564, allocations: 215.7 kB / 1.501 GB, free: 11.64 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005216/1.565, allocations: 108 kB / 1.502 GB, free: 11.53 MB / 1.232 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.003045/1.568, allocations: 1.583 MB / 1.503 GB, free: 9.938 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007237/1.569, allocations: 249 kB / 1.503 GB, free: 9.691 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03309/1.602, allocations: 14.75 MB / 1.518 GB, free: 10.88 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.602, allocations: 24 kB / 1.518 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001773/1.602, allocations: 44 kB / 1.518 GB, free: 10.82 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.314e-05/1.602, allocations: 11.95 kB / 1.518 GB, free: 10.8 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04434/1.646, allocations: 20.51 MB / 1.538 GB, free: 6.086 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-05/1.647, allocations: 8 kB / 1.538 GB, free: 6.078 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009192/1.647, allocations: 159.8 kB / 1.538 GB, free: 5.922 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03047/1.678, allocations: 9.013 MB / 1.547 GB, free: 12.88 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00062/1.679, allocations: 48 kB / 1.547 GB, free: 12.84 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7664/2.445, allocations: 51.92 MB / 1.598 GB, free: 313.7 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/2.445, allocations: 11.56 kB / 1.598 GB, free: 313.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02904/2.474, allocations: 14.36 MB / 1.612 GB, free: 304.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/2.476, allocations: 0.8586 MB / 1.612 GB, free: 304 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/2.477, allocations: 51.98 kB / 1.612 GB, free: 303.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/2.479, allocations: 203.7 kB / 1.613 GB, free: 303.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001263/2.48, allocations: 249.2 kB / 1.613 GB, free: 303.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/2.48, allocations: 64 kB / 1.613 GB, free: 303.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001204/2.482, allocations: 1.125 MB / 1.614 GB, free: 302.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.91e-07/2.482, allocations: 0 / 1.614 GB, free: 302.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004827/2.486, allocations: 1.613 MB / 1.616 GB, free: 300.7 MB / 1.279 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.000499/2.487, allocations: 164.4 kB / 1.616 GB, free: 300.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02036/2.507, allocations: 10.54 MB / 1.626 GB, free: 290 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/2.507, allocations: 4 kB / 1.626 GB, free: 289.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01602/2.523, allocations: 7.317 MB / 1.633 GB, free: 282.6 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/2.527, allocations: 0.5533 MB / 1.634 GB, free: 282.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/2.54, allocations: 8.693 MB / 1.642 GB, free: 273.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/2.543, allocations: 3.226 MB / 1.645 GB, free: 270.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001003/2.544, allocations: 387.4 kB / 1.646 GB, free: 269.7 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/2.545, allocations: 99.42 kB / 1.646 GB, free: 269.6 MB / 1.279 GB Notification: Performance of SimCode: time 1.133e-06/2.545, allocations: 0 / 1.646 GB, free: 269.6 MB / 1.279 GB Notification: Performance of Templates: time 0.114/2.659, allocations: 95.68 MB / 1.739 GB, free: 174.2 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches