Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001765/0.001765, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001681/0.001681, allocations: 191.4 kB / 22.23 MB, free: 5.098 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.443/1.443, allocations: 225.6 MB / 251 MB, free: 13 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.116/3.116, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.33 kB / 1.145 GB, free: 30.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 174.9 MB / 1.316 GB, free: 9.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03401/0.3619, allocations: 27.92 MB / 1.343 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.3767, allocations: 8.359 MB / 1.351 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.3791, allocations: 150.8 kB / 1.352 GB, free: 5.117 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00773/0.3869, allocations: 2.884 MB / 1.354 GB, free: 2.227 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.3913, allocations: 1.671 MB / 1.356 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004383/0.3957, allocations: 1.732 MB / 1.358 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008207/0.4039, allocations: 6.127 MB / 1.364 GB, free: 8.668 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006273/0.4102, allocations: 3.605 MB / 1.367 GB, free: 4.957 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004877/0.415, allocations: 2.66 MB / 1.37 GB, free: 2.289 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005535/0.4206, allocations: 2.99 MB / 1.373 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.4219, allocations: 0.5117 MB / 1.373 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.425, allocations: 1.307 MB / 1.375 GB, free: 13.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002781/0.4278, allocations: 2.1 MB / 1.377 GB, free: 11.36 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0044/0.4322, allocations: 2.385 MB / 1.379 GB, free: 8.969 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.4431, allocations: 8.079 MB / 1.387 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4431, allocations: 0 / 1.387 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4431, allocations: 0 / 1.387 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002087/0.4433, allocations: 0 / 1.387 GB, free: 0.8633 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01078/0.454, allocations: 4.268 MB / 1.391 GB, free: 12.54 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4541, allocations: 8.031 kB / 1.391 GB, free: 12.54 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/0.4588, allocations: 0.8218 MB / 1.392 GB, free: 11.71 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006324/0.4651, allocations: 2.53 MB / 1.394 GB, free: 9.117 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002973/0.4654, allocations: 275.6 kB / 1.395 GB, free: 8.848 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/0.4667, allocations: 376.6 kB / 1.395 GB, free: 8.48 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.4803, allocations: 5.988 MB / 1.401 GB, free: 2.238 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001406/0.4805, allocations: 15.88 kB / 1.401 GB, free: 2.223 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008317/0.4813, allocations: 164 kB / 1.401 GB, free: 2.062 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000673/0.482, allocations: 286.9 kB / 1.401 GB, free: 1.781 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009957/0.4919, allocations: 4.512 MB / 1.406 GB, free: 13.26 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03796/0.5299, allocations: 27.24 MB / 1.432 GB, free: 15.51 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.5319, allocations: 1.064 MB / 1.433 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.5335, allocations: 0.9647 MB / 1.434 GB, free: 13.48 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.5336, allocations: 16.98 kB / 1.434 GB, free: 13.46 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.5336, allocations: 47.56 kB / 1.434 GB, free: 13.41 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 3.467e-06/0.5336, allocations: 0 / 1.434 GB, free: 13.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.02325/0.5569, allocations: 9.09 MB / 1.443 GB, free: 4.258 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.5569, allocations: 68.66 kB / 1.443 GB, free: 4.176 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.5593, allocations: 1.498 MB / 1.445 GB, free: 2.68 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.5595, allocations: 49.7 kB / 1.445 GB, free: 2.625 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.5609, allocations: 1.715 MB / 1.446 GB, free: 0.8906 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/0.5614, allocations: 499.8 kB / 1.447 GB, free: 408 kB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005884/0.562, allocations: 327.4 kB / 1.447 GB, free: 72 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5622, allocations: 305.1 kB / 1.447 GB, free: 15.77 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.5637, allocations: 0.9174 MB / 1.448 GB, free: 14.85 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.5657, allocations: 1.471 MB / 1.45 GB, free: 13.14 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/0.5694, allocations: 2.538 MB / 1.452 GB, free: 10.37 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.5694, allocations: 15.92 kB / 1.452 GB, free: 10.35 MB / 1.154 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006451/0.5759, allocations: 3.267 MB / 1.455 GB, free: 7.047 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.5759, allocations: 19.94 kB / 1.455 GB, free: 7.027 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.5759, allocations: 16 kB / 1.455 GB, free: 7.012 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/0.5783, allocations: 0.7377 MB / 1.456 GB, free: 6.246 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.58, allocations: 387.3 kB / 1.457 GB, free: 5.867 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.5989, allocations: 16.13 MB / 1.472 GB, free: 4.699 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.601, allocations: 103.9 kB / 1.472 GB, free: 4.598 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003554/0.6013, allocations: 80.06 kB / 1.473 GB, free: 4.52 MB / 1.17 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002677/0.604, allocations: 1.309 MB / 1.474 GB, free: 3.199 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005887/0.6046, allocations: 214.7 kB / 1.474 GB, free: 2.988 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005872/0.6105, allocations: 2.761 MB / 1.477 GB, free: 188 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.6105, allocations: 16 kB / 1.477 GB, free: 172 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/0.6105, allocations: 4 kB / 1.477 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/0.6105, allocations: 7.969 kB / 1.477 GB, free: 160 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.6239, allocations: 6.17 MB / 1.483 GB, free: 9.828 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.6239, allocations: 16.08 kB / 1.483 GB, free: 9.812 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.6251, allocations: 231.6 kB / 1.483 GB, free: 9.586 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/0.6273, allocations: 0.6671 MB / 1.484 GB, free: 8.891 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.6274, allocations: 28 kB / 1.484 GB, free: 8.863 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/0.6456, allocations: 15.87 MB / 1.499 GB, free: 7.957 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.6456, allocations: 7.938 kB / 1.499 GB, free: 7.949 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007319/0.653, allocations: 3.99 MB / 1.503 GB, free: 3.848 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.6543, allocations: 390.5 kB / 1.503 GB, free: 3.465 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004966/0.6548, allocations: 40.05 kB / 1.503 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.6559, allocations: 91.89 kB / 1.504 GB, free: 3.336 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/0.6562, allocations: 120.6 kB / 1.504 GB, free: 3.219 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/0.6563, allocations: 36 kB / 1.504 GB, free: 3.184 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001563/0.6579, allocations: 0.9942 MB / 1.505 GB, free: 2.199 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6579, allocations: 0 / 1.505 GB, free: 2.199 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002614/0.6605, allocations: 0.6836 MB / 1.505 GB, free: 1.516 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003043/0.6608, allocations: 149.9 kB / 1.505 GB, free: 1.363 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005989/0.6668, allocations: 3.378 MB / 1.509 GB, free: 13.87 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.6668, allocations: 4.188 kB / 1.509 GB, free: 13.87 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003795/0.6706, allocations: 2.248 MB / 1.511 GB, free: 11.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/0.674, allocations: 0.6722 MB / 1.512 GB, free: 10.86 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.6905, allocations: 6.663 MB / 1.518 GB, free: 4.098 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/0.6947, allocations: 2.664 MB / 1.521 GB, free: 1.398 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001769/0.6965, allocations: 481.4 kB / 1.521 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.6969, allocations: 115.4 kB / 1.521 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of SimCode: time 1.643e-06/0.6969, allocations: 0 / 1.521 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of Templates: time 0.07131/0.7682, allocations: 35.68 MB / 1.556 GB, free: 13.62 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: 9.995351344347]