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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 190.1 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.157/3.157, allocations: 0.4893 GB / 0.7884 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=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 0.002016/0.002016, allocations: 68.08 kB / 1.145 GB, free: 30.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3329, allocations: 174.9 MB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03169/0.3646, allocations: 24.46 MB / 1.34 GB, free: 1.215 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0128/0.3774, allocations: 6.663 MB / 1.346 GB, free: 10.53 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.3797, allocations: 123.1 kB / 1.347 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004748/0.3844, allocations: 1.569 MB / 1.348 GB, free: 8.836 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00492/0.3893, allocations: 1.941 MB / 1.35 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.3935, allocations: 1.504 MB / 1.351 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.009215/0.4027, allocations: 6.905 MB / 1.358 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008054/0.4107, allocations: 3.479 MB / 1.362 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005442/0.4162, allocations: 2.913 MB / 1.364 GB, free: 7.957 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006414/0.4226, allocations: 3.735 MB / 1.368 GB, free: 4.211 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001616/0.4242, allocations: 0.5312 MB / 1.369 GB, free: 3.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.4276, allocations: 1.198 MB / 1.37 GB, free: 2.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004072/0.4317, allocations: 2.533 MB / 1.372 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005083/0.4367, allocations: 2.532 MB / 1.375 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.4493, allocations: 8.542 MB / 1.383 GB, free: 4.828 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4493, allocations: 3.938 kB / 1.383 GB, free: 4.824 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4493, allocations: 0 / 1.383 GB, free: 4.824 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002425/0.4496, allocations: 0 / 1.383 GB, free: 4.824 MB / 1.076 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.01003/0.4596, allocations: 4.468 MB / 1.387 GB, free: 308 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4596, allocations: 12.03 kB / 1.387 GB, free: 296 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008492/0.4681, allocations: 1.7 MB / 1.389 GB, free: 14.59 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006645/0.4748, allocations: 2.672 MB / 1.392 GB, free: 11.87 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.4751, allocations: 275.7 kB / 1.392 GB, free: 11.6 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/0.4764, allocations: 364.2 kB / 1.392 GB, free: 11.24 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.4907, allocations: 7.493 MB / 1.4 GB, free: 3.484 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.114e-05/0.4908, allocations: 11.88 kB / 1.4 GB, free: 3.473 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/0.4912, allocations: 159.9 kB / 1.4 GB, free: 3.316 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006279/0.4919, allocations: 483.3 kB / 1.4 GB, free: 2.844 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.5032, allocations: 5.701 MB / 1.406 GB, free: 13.13 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04163/0.5448, allocations: 31.28 MB / 1.436 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/0.548, allocations: 2.027 MB / 1.438 GB, free: 9.035 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/0.5514, allocations: 2.096 MB / 1.44 GB, free: 6.941 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.5516, allocations: 17.31 kB / 1.44 GB, free: 6.926 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.5516, allocations: 47.86 kB / 1.44 GB, free: 6.867 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.506e-06/0.5516, allocations: 0 / 1.44 GB, free: 6.867 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.2813/0.8329, allocations: 76.72 MB / 1.515 GB, free: 10.03 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.833, allocations: 81.34 kB / 1.515 GB, free: 9.934 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.8358, allocations: 1.674 MB / 1.517 GB, free: 8.215 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004805/0.8363, allocations: 65.7 kB / 1.517 GB, free: 8.145 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.8377, allocations: 1.788 MB / 1.519 GB, free: 6.34 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.839, allocations: 0.8985 MB / 1.52 GB, free: 5.434 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/0.8403, allocations: 481.4 kB / 1.52 GB, free: 4.957 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8404, allocations: 309 kB / 1.521 GB, free: 4.652 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004233/0.8446, allocations: 2.73 MB / 1.523 GB, free: 1.918 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004781/0.8494, allocations: 3.332 MB / 1.526 GB, free: 14.34 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009484/0.8589, allocations: 6.397 MB / 1.533 GB, free: 7.695 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.8589, allocations: 4 kB / 1.533 GB, free: 7.691 MB / 1.232 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03252/0.8914, allocations: 14.42 MB / 1.547 GB, free: 9.227 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.8915, allocations: 12 kB / 1.547 GB, free: 9.215 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.8915, allocations: 16 kB / 1.547 GB, free: 9.199 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02889/0.9204, allocations: 9.244 MB / 1.556 GB, free: 15.93 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.9215, allocations: 295.5 kB / 1.556 GB, free: 15.64 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7011/1.623, allocations: 51.78 MB / 1.607 GB, free: 259.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/1.625, allocations: 223.1 kB / 1.607 GB, free: 259.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003127/1.626, allocations: 102 kB / 1.607 GB, free: 259.1 MB / 1.295 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.00242/1.628, allocations: 1.588 MB / 1.609 GB, free: 259 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/1.629, allocations: 257 kB / 1.609 GB, free: 259 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03251/1.661, allocations: 14.47 MB / 1.623 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/1.661, allocations: 28.12 kB / 1.623 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001479/1.661, allocations: 48.19 kB / 1.623 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/1.661, allocations: 10.78 kB / 1.623 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03536/1.697, allocations: 20.22 MB / 1.643 GB, free: 249.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.667e-05/1.697, allocations: 3.656 kB / 1.643 GB, free: 249.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/1.697, allocations: 163.2 kB / 1.643 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02494/1.722, allocations: 9.005 MB / 1.652 GB, free: 246.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004101/1.723, allocations: 46.91 kB / 1.652 GB, free: 246.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06089/1.784, allocations: 51.34 MB / 1.702 GB, free: 199.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.784, allocations: 11.94 kB / 1.702 GB, free: 199.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02541/1.809, allocations: 14.1 MB / 1.716 GB, free: 185.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.811, allocations: 0.7851 MB / 1.716 GB, free: 184.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/1.812, allocations: 51.94 kB / 1.716 GB, free: 184.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/1.813, allocations: 207.7 kB / 1.717 GB, free: 184.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/1.814, allocations: 253.3 kB / 1.717 GB, free: 184.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.815, allocations: 64 kB / 1.717 GB, free: 184.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001177/1.816, allocations: 1.125 MB / 1.718 GB, free: 182.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.816, allocations: 4 kB / 1.718 GB, free: 182.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003878/1.82, allocations: 1.613 MB / 1.72 GB, free: 181.3 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.0003477/1.82, allocations: 156.2 kB / 1.72 GB, free: 181.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01723/1.837, allocations: 10.21 MB / 1.73 GB, free: 170.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/1.837, allocations: 4 kB / 1.73 GB, free: 170.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01369/1.851, allocations: 7.017 MB / 1.737 GB, free: 163.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.854, allocations: 0.5566 MB / 1.737 GB, free: 163.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.865, allocations: 8.933 MB / 1.746 GB, free: 154.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002705/1.868, allocations: 3.224 MB / 1.749 GB, free: 151.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009602/1.869, allocations: 387.3 kB / 1.749 GB, free: 150.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/1.869, allocations: 99.44 kB / 1.75 GB, free: 150.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.162e-06/1.869, allocations: 0 / 1.75 GB, free: 150.6 MB / 1.295 GB Notification: Performance of Templates: time 0.1089/1.978, allocations: 96.07 MB / 1.843 GB, free: 54.82 MB / 1.295 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.844879297539592]