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.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.00212/0.00212, allocations: 89.27 kB / 19.43 MB, free: 1.973 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.002648/0.002648, allocations: 170.9 kB / 22.75 MB, free: 4.785 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.456/1.456, allocations: 177.1 MB / 203.1 MB, free: 9.062 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.975/2.975, allocations: 390.1 MB / 0.6344 GB, free: 15.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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=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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8263 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.433e-05, allocations: 2.312 kB / 0.8263 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02789/0.02791, allocations: 21.84 MB / 0.8476 GB, free: 3.742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.03989, allocations: 6.415 MB / 0.8539 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.0414, allocations: 127.1 kB / 0.854 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004297/0.0457, allocations: 1.513 MB / 0.8555 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004493/0.05019, allocations: 1.988 MB / 0.8574 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.05378, allocations: 1.477 MB / 0.8589 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.008412/0.06219, allocations: 7.032 MB / 0.8657 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006664/0.06885, allocations: 3.724 MB / 0.8694 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006978/0.07583, allocations: 4.019 MB / 0.8733 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005558/0.08139, allocations: 3.402 MB / 0.8766 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0009438/0.08233, allocations: 0.5273 MB / 0.8771 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.08465, allocations: 1.131 MB / 0.8782 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002798/0.08745, allocations: 2.662 MB / 0.8808 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002584/0.09004, allocations: 1.758 MB / 0.8825 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.009631/0.09967, allocations: 8.687 MB / 0.891 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.09967, allocations: 4 kB / 0.891 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.292e-06/0.09967, allocations: 4 kB / 0.891 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001651/0.09984, allocations: 0 / 0.891 GB, free: 7.098 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008705/0.1085, allocations: 4.429 MB / 0.8954 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1086, allocations: 11.98 kB / 0.8954 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009949/0.1185, allocations: 2.292 MB / 0.8976 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005669/0.1242, allocations: 2.781 MB / 0.9003 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.1244, allocations: 275.7 kB / 0.9006 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008399/0.1253, allocations: 360.3 kB / 0.9009 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.1386, allocations: 7.717 MB / 0.9085 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.153e-05/0.1387, allocations: 16.06 kB / 0.9085 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/0.1392, allocations: 156.3 kB / 0.9086 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006376/0.1398, allocations: 491.3 kB / 0.9091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.1503, allocations: 5.697 MB / 0.9147 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0319/0.1822, allocations: 20.06 MB / 0.9343 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.1854, allocations: 2.008 MB / 0.9362 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003264/0.1886, allocations: 2.116 MB / 0.9383 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.1888, allocations: 29.25 kB / 0.9383 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.1888, allocations: 43.88 kB / 0.9384 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=146): time 4.048e-06/0.1888, allocations: 0 / 0.9384 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=251): time 0.3318/0.5206, allocations: 76.77 MB / 1.013 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.5207, allocations: 77.41 kB / 1.013 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.5232, allocations: 1.614 MB / 1.015 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004449/0.5237, allocations: 69.7 kB / 1.015 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.5252, allocations: 1.799 MB / 1.017 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.5263, allocations: 0.879 MB / 1.018 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.5274, allocations: 485.4 kB / 1.018 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5276, allocations: 305.1 kB / 1.018 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004509/0.5321, allocations: 2.726 MB / 1.021 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005156/0.5372, allocations: 3.332 MB / 1.024 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.5474, allocations: 6.401 MB / 1.031 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.5474, allocations: 4 kB / 1.031 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03625/0.5836, allocations: 14.52 MB / 1.045 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.5837, allocations: 12 kB / 1.045 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.5837, allocations: 16 kB / 1.045 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0325/0.6162, allocations: 9.199 MB / 1.054 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.6175, allocations: 299.4 kB / 1.054 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0919/0.7094, allocations: 51.04 MB / 1.104 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.7124, allocations: 227.7 kB / 1.104 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003252/0.7127, allocations: 96 kB / 1.104 GB, free: 10.51 MB / 1.061 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.002834/0.7155, allocations: 1.59 MB / 1.106 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007998/0.7163, allocations: 326.7 kB / 1.106 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03646/0.7528, allocations: 14.47 MB / 1.12 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/0.7528, allocations: 24 kB / 1.12 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001321/0.753, allocations: 44 kB / 1.12 GB, free: 9.988 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.701e-05/0.753, allocations: 11.95 kB / 1.12 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.454/1.207, allocations: 18.92 MB / 1.139 GB, free: 317.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.564e-05/1.207, allocations: 9.875 kB / 1.139 GB, free: 317.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/1.208, allocations: 164 kB / 1.139 GB, free: 317.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03034/1.238, allocations: 8.966 MB / 1.148 GB, free: 317.4 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005945/1.239, allocations: 52.31 kB / 1.148 GB, free: 317.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07791/1.317, allocations: 50.6 MB / 1.197 GB, free: 295.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/1.317, allocations: 7.938 kB / 1.197 GB, free: 295.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02963/1.346, allocations: 14.15 MB / 1.211 GB, free: 284.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0023/1.349, allocations: 0.7715 MB / 1.212 GB, free: 284 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005674/1.349, allocations: 57.92 kB / 1.212 GB, free: 283.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/1.351, allocations: 210.8 kB / 1.212 GB, free: 283.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/1.353, allocations: 249.1 kB / 1.212 GB, free: 283.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/1.353, allocations: 68 kB / 1.212 GB, free: 283.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001376/1.354, allocations: 1.064 MB / 1.213 GB, free: 282.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.354, allocations: 4 kB / 1.213 GB, free: 282.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005156/1.36, allocations: 1.617 MB / 1.215 GB, free: 280.7 MB / 1.076 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.0004422/1.36, allocations: 155.5 kB / 1.215 GB, free: 280.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02124/1.381, allocations: 10.19 MB / 1.225 GB, free: 270.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/1.381, allocations: 0 / 1.225 GB, free: 270.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.01682/1.398, allocations: 7.026 MB / 1.232 GB, free: 263.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/1.401, allocations: 0.5357 MB / 1.232 GB, free: 262.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.415, allocations: 9.017 MB / 1.241 GB, free: 253.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00327/1.419, allocations: 2.682 MB / 1.244 GB, free: 251 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001157/1.42, allocations: 378.8 kB / 1.244 GB, free: 250.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/1.42, allocations: 96.48 kB / 1.244 GB, free: 250.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.362e-06/1.42, allocations: 0 / 1.244 GB, free: 250.5 MB / 1.076 GB Notification: Performance of Templates: time 0.1141/1.534, allocations: 97.44 MB / 1.339 GB, free: 153.5 MB / 1.076 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.050130806863308]