Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7634 GB, free: 10.9 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=500,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_11_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=500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 1.108 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8851/0.8871, allocations: 168.7 MB / 1.272 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02975/0.9169, allocations: 23.8 MB / 1.296 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0134/0.9303, allocations: 6.535 MB / 1.302 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002886/0.9332, allocations: 99.5 kB / 1.302 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004793/0.938, allocations: 1.531 MB / 1.304 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005996/0.944, allocations: 1.937 MB / 1.305 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004643/0.9486, allocations: 1.489 MB / 1.307 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.9589, allocations: 6.904 MB / 1.314 GB, free: 10.31 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008448/0.9674, allocations: 5.207 MB / 1.319 GB, free: 5.008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006598/0.974, allocations: 2.874 MB / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007434/0.9814, allocations: 3.739 MB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001776/0.9832, allocations: 0.5273 MB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/0.9876, allocations: 1.19 MB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004337/0.9919, allocations: 2.537 MB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00545/0.9973, allocations: 2.524 MB / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01321/1.011, allocations: 8.549 MB / 1.34 GB, free: 15.01 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/1.011, allocations: 0 / 1.34 GB, free: 15.01 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.875e-06/1.011, allocations: 0 / 1.34 GB, free: 15.01 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003404/1.011, allocations: 0 / 1.34 GB, free: 15.01 MB / 1.045 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.01348/1.024, allocations: 4.543 MB / 1.345 GB, free: 10.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.024, allocations: 12.03 kB / 1.345 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008824/1.033, allocations: 1.699 MB / 1.346 GB, free: 8.676 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006892/1.04, allocations: 2.717 MB / 1.349 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/1.04, allocations: 275.7 kB / 1.349 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/1.042, allocations: 360.3 kB / 1.35 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/1.059, allocations: 7.487 MB / 1.357 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/1.059, allocations: 19.81 kB / 1.357 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005615/1.06, allocations: 155.9 kB / 1.357 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006751/1.061, allocations: 487.3 kB / 1.358 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/1.073, allocations: 5.697 MB / 1.363 GB, free: 7.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04799/1.121, allocations: 31.56 MB / 1.394 GB, free: 4.855 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003595/1.125, allocations: 2.02 MB / 1.396 GB, free: 2.824 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003519/1.128, allocations: 2.104 MB / 1.398 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/1.129, allocations: 17.31 kB / 1.398 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/1.129, allocations: 43.88 kB / 1.398 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 3.386e-06/1.129, allocations: 0 / 1.398 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.2909/1.42, allocations: 76.79 MB / 1.473 GB, free: 3.711 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/1.42, allocations: 77.41 kB / 1.473 GB, free: 3.621 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/1.423, allocations: 1.678 MB / 1.475 GB, free: 1.898 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005213/1.423, allocations: 65.7 kB / 1.475 GB, free: 1.828 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/1.425, allocations: 1.792 MB / 1.476 GB, free: 24 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.426, allocations: 0.8948 MB / 1.477 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/1.427, allocations: 493.3 kB / 1.478 GB, free: 14.63 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.427, allocations: 301.1 kB / 1.478 GB, free: 14.33 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004386/1.432, allocations: 2.734 MB / 1.481 GB, free: 11.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004995/1.437, allocations: 3.328 MB / 1.484 GB, free: 8.023 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.447, allocations: 6.393 MB / 1.49 GB, free: 1.387 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.348e-05/1.447, allocations: 7.938 kB / 1.49 GB, free: 1.379 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03516/1.482, allocations: 14.4 MB / 1.504 GB, free: 2.926 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/1.482, allocations: 14.03 kB / 1.504 GB, free: 2.914 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.732e-05/1.482, allocations: 19.98 kB / 1.504 GB, free: 2.895 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03101/1.513, allocations: 9.249 MB / 1.513 GB, free: 9.621 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.514, allocations: 295.5 kB / 1.514 GB, free: 9.332 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09111/1.605, allocations: 52.42 MB / 1.565 GB, free: 4.031 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/1.608, allocations: 219.7 kB / 1.565 GB, free: 3.816 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005466/1.609, allocations: 100 kB / 1.565 GB, free: 3.719 MB / 1.264 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.00352/1.612, allocations: 1.586 MB / 1.567 GB, free: 2.125 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008671/1.613, allocations: 266.5 kB / 1.567 GB, free: 1.863 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03495/1.648, allocations: 14.47 MB / 1.581 GB, free: 3.34 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.573e-05/1.648, allocations: 28 kB / 1.581 GB, free: 3.312 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001599/1.648, allocations: 44 kB / 1.581 GB, free: 3.27 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-05/1.649, allocations: 11.95 kB / 1.581 GB, free: 3.258 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8275/2.476, allocations: 20.23 MB / 1.601 GB, free: 294.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-05/2.476, allocations: 7.734 kB / 1.601 GB, free: 294.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008589/2.477, allocations: 167.1 kB / 1.601 GB, free: 294.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03161/2.509, allocations: 9.003 MB / 1.61 GB, free: 294.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005336/2.509, allocations: 46.81 kB / 1.61 GB, free: 294.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06478/2.574, allocations: 51.97 MB / 1.661 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/2.574, allocations: 11.94 kB / 1.661 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/2.6, allocations: 14.09 MB / 1.674 GB, free: 258.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/2.602, allocations: 0.8585 MB / 1.675 GB, free: 257.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000546/2.602, allocations: 59.92 kB / 1.675 GB, free: 257.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/2.604, allocations: 203.7 kB / 1.676 GB, free: 257.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00124/2.605, allocations: 241.5 kB / 1.676 GB, free: 257.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/2.606, allocations: 64 kB / 1.676 GB, free: 257.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001271/2.607, allocations: 1.125 MB / 1.677 GB, free: 256 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.607, allocations: 0 / 1.677 GB, free: 256 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004455/2.611, allocations: 1.613 MB / 1.679 GB, free: 254.4 MB / 1.295 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.0003946/2.612, allocations: 163.4 kB / 1.679 GB, free: 254.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01785/2.63, allocations: 10.2 MB / 1.689 GB, free: 244 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/2.63, allocations: 0 / 1.689 GB, free: 244 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01444/2.644, allocations: 7.022 MB / 1.696 GB, free: 236.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/2.647, allocations: 0.56 MB / 1.696 GB, free: 236.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/2.661, allocations: 9.543 MB / 1.705 GB, free: 226.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003076/2.664, allocations: 3.302 MB / 1.709 GB, free: 223.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/2.664, allocations: 103.4 kB / 1.709 GB, free: 223.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.112e-06/2.664, allocations: 0 / 1.709 GB, free: 223.3 MB / 1.295 GB Notification: Performance of Templates: time 0.1373/2.802, allocations: 188 MB / 1.892 GB, free: 35.15 MB / 1.295 GB [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches