Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 170.6 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.91/2.91, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_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=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.732e-05, allocations: 5.094 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02742/0.02745, allocations: 21.83 MB / 1.003 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.03965, allocations: 6.398 MB / 1.009 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.04194, allocations: 131 kB / 1.009 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004561/0.0465, allocations: 1.515 MB / 1.011 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005173/0.05168, allocations: 1.986 MB / 1.013 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.05568, allocations: 1.481 MB / 1.014 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008999/0.06468, allocations: 7.02 MB / 1.021 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006678/0.07136, allocations: 3.739 MB / 1.025 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006772/0.07813, allocations: 4.026 MB / 1.028 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005706/0.08384, allocations: 3.394 MB / 1.032 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.08494, allocations: 0.5312 MB / 1.032 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.08755, allocations: 1.127 MB / 1.033 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003022/0.09057, allocations: 2.658 MB / 1.036 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00272/0.09329, allocations: 1.758 MB / 1.038 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009346/0.1026, allocations: 8.687 MB / 1.046 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1026, allocations: 0 / 1.046 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.937e-06/0.1026, allocations: 3.984 kB / 1.046 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001746/0.1028, allocations: 0 / 1.046 GB, free: 9.363 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.008553/0.1114, allocations: 4.421 MB / 1.05 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1114, allocations: 8.031 kB / 1.051 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008801/0.1202, allocations: 1.711 MB / 1.052 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.1254, allocations: 2.672 MB / 1.055 GB, free: 456 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.1256, allocations: 279.7 kB / 1.055 GB, free: 176 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007214/0.1264, allocations: 356.4 kB / 1.055 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.139, allocations: 7.713 MB / 1.063 GB, free: 7.793 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-05/0.1391, allocations: 20.05 kB / 1.063 GB, free: 7.773 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004732/0.1396, allocations: 160.3 kB / 1.063 GB, free: 7.617 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006354/0.1402, allocations: 487.3 kB / 1.064 GB, free: 7.141 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009528/0.1498, allocations: 5.701 MB / 1.069 GB, free: 1.434 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02982/0.1796, allocations: 19.92 MB / 1.089 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.1825, allocations: 2.015 MB / 1.091 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/0.1855, allocations: 2.104 MB / 1.093 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.1857, allocations: 21.31 kB / 1.093 GB, free: 8.902 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.1857, allocations: 51.86 kB / 1.093 GB, free: 8.844 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.717e-06/0.1857, allocations: 0 / 1.093 GB, free: 8.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=251): time 0.8218/1.007, allocations: 76.7 MB / 1.168 GB, free: 177.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/1.008, allocations: 77.73 kB / 1.168 GB, free: 177.1 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/1.011, allocations: 1.609 MB / 1.169 GB, free: 176.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0005806/1.011, allocations: 65.7 kB / 1.169 GB, free: 176.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/1.012, allocations: 1.8 MB / 1.171 GB, free: 175.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009967/1.013, allocations: 0.886 MB / 1.172 GB, free: 174.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/1.014, allocations: 483 kB / 1.172 GB, free: 174.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.887e-05/1.015, allocations: 305.8 kB / 1.173 GB, free: 174.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004098/1.019, allocations: 2.73 MB / 1.175 GB, free: 173.1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004402/1.023, allocations: 3.33 MB / 1.179 GB, free: 171.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009039/1.032, allocations: 6.399 MB / 1.185 GB, free: 168.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-05/1.032, allocations: 9.062 kB / 1.185 GB, free: 168.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03441/1.067, allocations: 14.4 MB / 1.199 GB, free: 162.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/1.067, allocations: 14.16 kB / 1.199 GB, free: 162.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/1.067, allocations: 17.34 kB / 1.199 GB, free: 162.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02968/1.096, allocations: 9.203 MB / 1.208 GB, free: 157.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.097, allocations: 299.3 kB / 1.208 GB, free: 157.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06649/1.164, allocations: 50.84 MB / 1.258 GB, free: 106.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/1.167, allocations: 227.7 kB / 1.258 GB, free: 106 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000351/1.168, allocations: 96 kB / 1.258 GB, free: 105.9 MB / 1.076 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.002494/1.17, allocations: 1.58 MB / 1.26 GB, free: 104.3 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/1.171, allocations: 252.9 kB / 1.26 GB, free: 104.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02919/1.2, allocations: 14.48 MB / 1.274 GB, free: 89.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/1.2, allocations: 24 kB / 1.274 GB, free: 89.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001079/1.2, allocations: 44 kB / 1.274 GB, free: 89.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.552e-05/1.2, allocations: 11.95 kB / 1.274 GB, free: 89.44 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03658/1.237, allocations: 18.93 MB / 1.293 GB, free: 70.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/1.237, allocations: 8 kB / 1.293 GB, free: 70.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/1.237, allocations: 167.7 kB / 1.293 GB, free: 70.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04867/1.286, allocations: 8.967 MB / 1.302 GB, free: 61.24 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006569/1.287, allocations: 51.94 kB / 1.302 GB, free: 61.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06825/1.355, allocations: 50.4 MB / 1.351 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.355, allocations: 8 kB / 1.351 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03153/1.386, allocations: 14.08 MB / 1.365 GB, free: 11.97 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002503/1.389, allocations: 0.7793 MB / 1.365 GB, free: 11.19 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005911/1.39, allocations: 48 kB / 1.365 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/1.392, allocations: 207.7 kB / 1.366 GB, free: 10.94 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001381/1.393, allocations: 257.2 kB / 1.366 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/1.394, allocations: 64 kB / 1.366 GB, free: 10.62 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001654/1.395, allocations: 1.06 MB / 1.367 GB, free: 9.574 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.395, allocations: 0 / 1.367 GB, free: 9.574 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004976/1.4, allocations: 1.613 MB / 1.369 GB, free: 7.961 MB / 1.092 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.000468/1.401, allocations: 171 kB / 1.369 GB, free: 7.785 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02605/1.427, allocations: 10.18 MB / 1.379 GB, free: 13.55 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/1.427, allocations: 7.469 kB / 1.379 GB, free: 13.55 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.02021/1.447, allocations: 6.997 MB / 1.385 GB, free: 6.492 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/1.45, allocations: 0.5368 MB / 1.386 GB, free: 5.992 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/1.467, allocations: 8.894 MB / 1.395 GB, free: 13.01 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003987/1.471, allocations: 2.673 MB / 1.397 GB, free: 10.3 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001077/1.472, allocations: 382.8 kB / 1.398 GB, free: 9.918 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/1.472, allocations: 92.5 kB / 1.398 GB, free: 9.824 MB / 1.123 GB Notification: Performance of SimCode: time 1.012e-06/1.472, allocations: 0 / 1.398 GB, free: 9.824 MB / 1.123 GB Notification: Performance of Templates: time 0.1634/1.636, allocations: 97.27 MB / 1.493 GB, free: 9.094 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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 [Calling sys.exit(0), Time elapsed: 11.510017704218626]