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.001406/0.001406, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001584/0.001584, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.45/1.45, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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 3.214/3.214, allocations: 429.6 MB / 0.673 GB, free: 3.91 MB / 0.6355 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 2.074e-06/2.074e-06, allocations: 0.5469 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.887e-05, allocations: 4.844 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03219/0.03221, allocations: 21.84 MB / 0.8989 GB, free: 0.6094 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.04652, allocations: 6.408 MB / 0.9052 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.0487, allocations: 127.1 kB / 0.9053 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00486/0.05356, allocations: 1.511 MB / 0.9068 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.006651/0.06021, allocations: 1.986 MB / 0.9087 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005766/0.06598, allocations: 1.465 MB / 0.9102 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01319/0.07916, allocations: 7.032 MB / 0.917 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009621/0.08878, allocations: 3.754 MB / 0.9207 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008936/0.09772, allocations: 4.019 MB / 0.9246 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006898/0.1046, allocations: 3.402 MB / 0.9279 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001808/0.1064, allocations: 0.5273 MB / 0.9285 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.11, allocations: 1.127 MB / 0.9296 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.004805/0.1148, allocations: 2.662 MB / 0.9322 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004721/0.1196, allocations: 1.758 MB / 0.9339 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.1322, allocations: 8.691 MB / 0.9424 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1322, allocations: 0 / 0.9424 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1322, allocations: 0 / 0.9424 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000204/0.1324, allocations: 0 / 0.9424 GB, free: 3.938 MB / 0.9011 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.01001/0.1424, allocations: 4.421 MB / 0.9467 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1425, allocations: 11.97 kB / 0.9467 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009883/0.1524, allocations: 2.288 MB / 0.9489 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006519/0.1589, allocations: 2.781 MB / 0.9516 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.1592, allocations: 275.7 kB / 0.9519 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/0.1604, allocations: 372.2 kB / 0.9523 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.176, allocations: 7.713 MB / 0.9598 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.68e-05/0.176, allocations: 16.06 kB / 0.9598 GB, free: 1.641 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005143/0.1766, allocations: 160.3 kB / 0.96 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008351/0.1774, allocations: 491.3 kB / 0.9604 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.1888, allocations: 5.697 MB / 0.966 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03765/0.2264, allocations: 20.05 MB / 0.9856 GB, free: 6.793 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.2302, allocations: 2.009 MB / 0.9875 GB, free: 4.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/0.234, allocations: 2.112 MB / 0.9896 GB, free: 2.656 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.2342, allocations: 25.31 kB / 0.9896 GB, free: 2.633 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.2343, allocations: 51.81 kB / 0.9897 GB, free: 2.574 MB / 0.948 GB Notification: Performance of pre-optimization done (n=146): time 4.027e-06/0.2343, allocations: 0 / 0.9897 GB, free: 2.574 MB / 0.948 GB Notification: Performance of matching and sorting (n=251): time 0.7193/0.9536, allocations: 76.76 MB / 1.065 GB, free: 204 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.9537, allocations: 76.62 kB / 1.065 GB, free: 203.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.9559, allocations: 1.608 MB / 1.066 GB, free: 203.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0004053/0.9563, allocations: 63.42 kB / 1.066 GB, free: 203.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008555/0.9572, allocations: 1.799 MB / 1.068 GB, free: 202.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008348/0.958, allocations: 0.8849 MB / 1.069 GB, free: 202.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.9592, allocations: 482 kB / 1.069 GB, free: 202 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.9592, allocations: 307.5 kB / 1.07 GB, free: 201.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003246/0.9625, allocations: 2.733 MB / 1.072 GB, free: 200.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003486/0.9659, allocations: 3.33 MB / 1.076 GB, free: 199.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007012/0.973, allocations: 6.395 MB / 1.082 GB, free: 196.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/0.973, allocations: 5.5 kB / 1.082 GB, free: 196.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03376/1.007, allocations: 14.51 MB / 1.096 GB, free: 192.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/1.007, allocations: 12.83 kB / 1.096 GB, free: 192.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/1.007, allocations: 17.5 kB / 1.096 GB, free: 192.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03287/1.04, allocations: 9.484 MB / 1.105 GB, free: 190.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.041, allocations: 299.6 kB / 1.106 GB, free: 190.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07018/1.111, allocations: 51.04 MB / 1.155 GB, free: 153.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/1.114, allocations: 219.7 kB / 1.156 GB, free: 153.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004799/1.114, allocations: 100 kB / 1.156 GB, free: 153 MB / 1.01 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.002319/1.117, allocations: 1.598 MB / 1.157 GB, free: 151.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009224/1.118, allocations: 318.7 kB / 1.158 GB, free: 151.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02902/1.147, allocations: 14.47 MB / 1.172 GB, free: 136.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/1.147, allocations: 27.94 kB / 1.172 GB, free: 136.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001436/1.147, allocations: 48 kB / 1.172 GB, free: 136.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.356e-05/1.147, allocations: 11.95 kB / 1.172 GB, free: 136.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03596/1.183, allocations: 18.93 MB / 1.19 GB, free: 117.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/1.183, allocations: 8.844 kB / 1.19 GB, free: 117.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/1.184, allocations: 163.7 kB / 1.191 GB, free: 117.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02771/1.211, allocations: 9.238 MB / 1.2 GB, free: 108 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003598/1.212, allocations: 52 kB / 1.2 GB, free: 108 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06509/1.277, allocations: 50.61 MB / 1.249 GB, free: 56.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.277, allocations: 15.94 kB / 1.249 GB, free: 56.78 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02788/1.305, allocations: 14.14 MB / 1.263 GB, free: 42.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/1.307, allocations: 0.7793 MB / 1.264 GB, free: 41.72 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000682/1.307, allocations: 51.98 kB / 1.264 GB, free: 41.67 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.31, allocations: 203.7 kB / 1.264 GB, free: 41.47 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001308/1.311, allocations: 253.3 kB / 1.264 GB, free: 41.22 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002902/1.311, allocations: 64 kB / 1.264 GB, free: 41.16 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001282/1.312, allocations: 1.072 MB / 1.265 GB, free: 40.09 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/1.312, allocations: 0 / 1.265 GB, free: 40.09 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004296/1.317, allocations: 1.617 MB / 1.267 GB, free: 38.48 MB / 1.01 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.000428/1.317, allocations: 167.2 kB / 1.267 GB, free: 38.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0191/1.336, allocations: 10.19 MB / 1.277 GB, free: 28.07 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.336, allocations: 0 / 1.277 GB, free: 28.07 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01529/1.352, allocations: 7.009 MB / 1.284 GB, free: 21.02 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/1.355, allocations: 0.544 MB / 1.284 GB, free: 20.51 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.368, allocations: 9.022 MB / 1.293 GB, free: 11.39 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003429/1.371, allocations: 2.669 MB / 1.296 GB, free: 8.684 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001001/1.372, allocations: 386.8 kB / 1.296 GB, free: 8.301 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/1.373, allocations: 96.48 kB / 1.296 GB, free: 8.203 MB / 1.01 GB Notification: Performance of SimCode: time 1.492e-06/1.373, allocations: 0 / 1.296 GB, free: 8.203 MB / 1.01 GB Notification: Performance of Templates: time 0.1583/1.531, allocations: 97.63 MB / 1.391 GB, free: 6.863 MB / 1.104 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.336789836990647]