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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 104.2 kB / 16.4 MB, free: 6.488 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.001456/0.001457, allocations: 191.7 kB / 19.35 MB, free: 3.754 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.485/1.485, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.717 GB, free: 4.117 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=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_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=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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 67.89 kB / 1.027 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9414/0.9435, allocations: 151.6 MB / 1.175 GB, free: 17.95 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0221/0.9657, allocations: 23.42 MB / 1.198 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.9782, allocations: 6.487 MB / 1.204 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003087/0.9814, allocations: 99.09 kB / 1.204 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004684/0.9861, allocations: 1.488 MB / 1.206 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006673/0.9927, allocations: 1.822 MB / 1.208 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004991/0.9978, allocations: 1.464 MB / 1.209 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01231/1.01, allocations: 6.912 MB / 1.216 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/1.021, allocations: 6.936 MB / 1.223 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005854/1.027, allocations: 2.851 MB / 1.225 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006262/1.033, allocations: 3.47 MB / 1.229 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001352/1.034, allocations: 0.5256 MB / 1.229 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/1.037, allocations: 1.181 MB / 1.23 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003064/1.041, allocations: 2.458 MB / 1.233 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004072/1.045, allocations: 2.536 MB / 1.235 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/1.056, allocations: 8.541 MB / 1.244 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/1.056, allocations: 4 kB / 1.244 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.234e-06/1.056, allocations: 3.938 kB / 1.244 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002853/1.056, allocations: 4 kB / 1.244 GB, free: 2.688 MB / 0.9512 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.01262/1.069, allocations: 4.543 MB / 1.248 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.069, allocations: 8.031 kB / 1.248 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008847/1.078, allocations: 1.703 MB / 1.25 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006878/1.085, allocations: 2.705 MB / 1.252 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/1.085, allocations: 275.7 kB / 1.253 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/1.087, allocations: 364.2 kB / 1.253 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/1.102, allocations: 7.491 MB / 1.26 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.47e-05/1.102, allocations: 15.86 kB / 1.26 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005071/1.103, allocations: 159.9 kB / 1.261 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006014/1.103, allocations: 483.3 kB / 1.261 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/1.114, allocations: 5.705 MB / 1.267 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03966/1.154, allocations: 31.55 MB / 1.297 GB, free: 8.547 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/1.157, allocations: 2.088 MB / 1.299 GB, free: 6.445 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003172/1.16, allocations: 2.182 MB / 1.302 GB, free: 4.258 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/1.16, allocations: 13.31 kB / 1.302 GB, free: 4.242 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/1.16, allocations: 51.88 kB / 1.302 GB, free: 4.184 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.387e-06/1.16, allocations: 0 / 1.302 GB, free: 4.184 MB / 1.014 GB Notification: Performance of matching and sorting (n=251): time 0.3215/1.482, allocations: 77.09 MB / 1.377 GB, free: 6.953 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/1.482, allocations: 77.41 kB / 1.377 GB, free: 6.863 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/1.486, allocations: 1.67 MB / 1.379 GB, free: 5.148 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006212/1.486, allocations: 65.7 kB / 1.379 GB, free: 5.078 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0017/1.488, allocations: 1.795 MB / 1.38 GB, free: 3.27 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001611/1.49, allocations: 0.8946 MB / 1.381 GB, free: 2.367 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/1.491, allocations: 485.4 kB / 1.382 GB, free: 1.887 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.491, allocations: 301.1 kB / 1.382 GB, free: 1.59 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004518/1.496, allocations: 2.734 MB / 1.385 GB, free: 14.85 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005215/1.501, allocations: 3.332 MB / 1.388 GB, free: 11.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.512, allocations: 6.397 MB / 1.394 GB, free: 4.633 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/1.512, allocations: 4 kB / 1.394 GB, free: 4.629 MB / 1.107 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03725/1.549, allocations: 14.68 MB / 1.409 GB, free: 5.898 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/1.549, allocations: 16.03 kB / 1.409 GB, free: 5.883 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.674e-05/1.549, allocations: 16 kB / 1.409 GB, free: 5.867 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03327/1.582, allocations: 9.247 MB / 1.418 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.584, allocations: 295.5 kB / 1.418 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09255/1.676, allocations: 52.41 MB / 1.469 GB, free: 7.02 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003391/1.68, allocations: 223.7 kB / 1.469 GB, free: 6.801 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003963/1.68, allocations: 104 kB / 1.469 GB, free: 6.699 MB / 1.186 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.00345/1.684, allocations: 1.586 MB / 1.471 GB, free: 5.102 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000686/1.684, allocations: 262.5 kB / 1.471 GB, free: 4.844 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03592/1.72, allocations: 14.75 MB / 1.486 GB, free: 6.035 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-05/1.721, allocations: 27.98 kB / 1.486 GB, free: 6.008 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002134/1.721, allocations: 44 kB / 1.486 GB, free: 5.965 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.437e-05/1.721, allocations: 11.95 kB / 1.486 GB, free: 5.953 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04804/1.769, allocations: 20.53 MB / 1.506 GB, free: 1.223 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.783e-05/1.769, allocations: 4 kB / 1.506 GB, free: 1.219 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008443/1.77, allocations: 163.7 kB / 1.506 GB, free: 1.059 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03191/1.802, allocations: 9.001 MB / 1.515 GB, free: 8.031 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006394/1.802, allocations: 48 kB / 1.515 GB, free: 7.984 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09081/1.893, allocations: 51.96 MB / 1.565 GB, free: 3.148 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.893, allocations: 11.94 kB / 1.565 GB, free: 3.137 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03587/1.929, allocations: 14.38 MB / 1.58 GB, free: 4.613 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002333/1.932, allocations: 0.8546 MB / 1.58 GB, free: 3.738 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006253/1.932, allocations: 51.98 kB / 1.58 GB, free: 3.688 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/1.935, allocations: 211.6 kB / 1.581 GB, free: 3.48 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/1.936, allocations: 237.5 kB / 1.581 GB, free: 3.246 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/1.936, allocations: 68 kB / 1.581 GB, free: 3.18 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00181/1.938, allocations: 1.121 MB / 1.582 GB, free: 2.035 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.3e-07/1.938, allocations: 0 / 1.582 GB, free: 2.035 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005332/1.943, allocations: 1.617 MB / 1.584 GB, free: 428 kB / 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.0004939/1.944, allocations: 167 kB / 1.584 GB, free: 252 kB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02469/1.969, allocations: 10.59 MB / 1.594 GB, free: 5.578 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.969, allocations: 0 / 1.594 GB, free: 5.578 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01928/1.988, allocations: 7.327 MB / 1.601 GB, free: 14.17 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/1.991, allocations: 0.5535 MB / 1.602 GB, free: 13.63 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/2.009, allocations: 8.824 MB / 1.61 GB, free: 4.723 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004472/2.013, allocations: 3.224 MB / 1.614 GB, free: 1.465 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.001237/2.015, allocations: 395.3 kB / 1.614 GB, free: 1.074 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/2.015, allocations: 95.44 kB / 1.614 GB, free: 0.9805 MB / 1.326 GB Notification: Performance of SimCode: time 1.012e-06/2.015, allocations: 0 / 1.614 GB, free: 0.9805 MB / 1.326 GB Notification: Performance of Templates: time 0.7847/2.8, allocations: 92.71 MB / 1.705 GB, free: 344.7 MB / 1.326 GB [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] 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/jenkins/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) [Timeout 300] [Timeout remaining time 300] Reference file matches