Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001856/0.001856, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002304/0.002304, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.878/2.878, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 66.42 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3724, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02704/0.3995, allocations: 21.23 MB / 1.305 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.4121, allocations: 6.722 MB / 1.312 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.4147, allocations: 111.2 kB / 1.312 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006491/0.4212, allocations: 2.344 MB / 1.314 GB, free: 12.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004201/0.4254, allocations: 1.24 MB / 1.316 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.4292, allocations: 1.318 MB / 1.317 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007176/0.4364, allocations: 4.858 MB / 1.322 GB, free: 5.309 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00547/0.4418, allocations: 3.189 MB / 1.325 GB, free: 2.047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.4461, allocations: 2.15 MB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004938/0.451, allocations: 2.473 MB / 1.329 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.4522, allocations: 428 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.4549, allocations: 1.026 MB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002323/0.4572, allocations: 1.711 MB / 1.332 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003266/0.4605, allocations: 1.91 MB / 1.334 GB, free: 8.332 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008547/0.4691, allocations: 6.534 MB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4691, allocations: 4 kB / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4691, allocations: 0 / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000198/0.4693, allocations: 0 / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008735/0.478, allocations: 3.462 MB / 1.344 GB, free: 14.26 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.4781, allocations: 11.97 kB / 1.344 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.4816, allocations: 0.6623 MB / 1.345 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00493/0.4865, allocations: 1.993 MB / 1.346 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.4867, allocations: 234.3 kB / 1.347 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006633/0.4874, allocations: 288.4 kB / 1.347 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009759/0.4971, allocations: 4.89 MB / 1.352 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.445e-05/0.4972, allocations: 15.89 kB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003345/0.4976, allocations: 128 kB / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000456/0.498, allocations: 229.7 kB / 1.352 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007491/0.5055, allocations: 3.75 MB / 1.356 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.5334, allocations: 21.24 MB / 1.377 GB, free: 10.58 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.5353, allocations: 1.23 MB / 1.378 GB, free: 9.336 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.5368, allocations: 0.9841 MB / 1.379 GB, free: 8.348 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-05/0.5368, allocations: 13 kB / 1.379 GB, free: 8.336 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.5369, allocations: 43.56 kB / 1.379 GB, free: 8.281 MB / 1.076 GB Notification: Performance of pre-optimization done (n=107): time 3.166e-06/0.5369, allocations: 4 kB / 1.379 GB, free: 8.277 MB / 1.076 GB Notification: Performance of matching and sorting (n=138): time 0.02452/0.5614, allocations: 8.428 MB / 1.387 GB, free: 15.86 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.5615, allocations: 64.72 kB / 1.387 GB, free: 15.79 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.5632, allocations: 1.126 MB / 1.388 GB, free: 14.65 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.5633, allocations: 53.7 kB / 1.388 GB, free: 14.59 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.5644, allocations: 1.335 MB / 1.389 GB, free: 13.25 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/0.5649, allocations: 0.4996 MB / 1.39 GB, free: 12.74 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/0.5653, allocations: 295.4 kB / 1.39 GB, free: 12.45 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5655, allocations: 305.1 kB / 1.391 GB, free: 12.14 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.5669, allocations: 0.9135 MB / 1.391 GB, free: 11.23 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.5686, allocations: 1.322 MB / 1.393 GB, free: 9.738 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003361/0.572, allocations: 2.426 MB / 1.395 GB, free: 7.141 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.572, allocations: 4 kB / 1.395 GB, free: 7.137 MB / 1.092 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006527/0.5785, allocations: 3.437 MB / 1.398 GB, free: 3.68 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.5785, allocations: 8 kB / 1.398 GB, free: 3.672 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.5785, allocations: 16.16 kB / 1.398 GB, free: 3.656 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003329/0.5819, allocations: 1.182 MB / 1.4 GB, free: 2.469 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.5829, allocations: 259.6 kB / 1.4 GB, free: 2.215 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/0.6019, allocations: 13.54 MB / 1.413 GB, free: 4.328 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.6034, allocations: 91.97 kB / 1.413 GB, free: 4.238 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.6036, allocations: 64 kB / 1.413 GB, free: 4.176 MB / 1.108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002142/0.6057, allocations: 1.114 MB / 1.414 GB, free: 3.051 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003882/0.6061, allocations: 175 kB / 1.415 GB, free: 2.879 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006034/0.6121, allocations: 3.126 MB / 1.418 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.6122, allocations: 19.98 kB / 1.418 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.6122, allocations: 11.94 kB / 1.418 GB, free: 15.7 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.6122, allocations: 11.92 kB / 1.418 GB, free: 15.69 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.6237, allocations: 6.182 MB / 1.424 GB, free: 9.379 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.6237, allocations: 4.562 kB / 1.424 GB, free: 9.375 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.6243, allocations: 147.8 kB / 1.424 GB, free: 9.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/0.6273, allocations: 1.071 MB / 1.425 GB, free: 8.152 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.6274, allocations: 28 kB / 1.425 GB, free: 8.125 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.6457, allocations: 13.25 MB / 1.438 GB, free: 10.53 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.6457, allocations: 7.938 kB / 1.438 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005846/0.6516, allocations: 3.116 MB / 1.441 GB, free: 7.32 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/0.6527, allocations: 358.8 kB / 1.441 GB, free: 6.969 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.653, allocations: 39.94 kB / 1.441 GB, free: 6.93 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.6538, allocations: 79.89 kB / 1.441 GB, free: 6.852 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004063/0.6542, allocations: 124.6 kB / 1.441 GB, free: 6.727 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/0.6542, allocations: 44 kB / 1.441 GB, free: 6.684 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001174/0.6554, allocations: 0.7632 MB / 1.442 GB, free: 5.918 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6554, allocations: 4 kB / 1.442 GB, free: 5.914 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002234/0.6577, allocations: 0.6602 MB / 1.443 GB, free: 5.254 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.6579, allocations: 143 kB / 1.443 GB, free: 5.102 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0056/0.6635, allocations: 3.013 MB / 1.446 GB, free: 2.059 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.6635, allocations: 0 / 1.446 GB, free: 2.059 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003183/0.6667, allocations: 1.877 MB / 1.448 GB, free: 148 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.6691, allocations: 0.4969 MB / 1.448 GB, free: 15.66 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.6804, allocations: 5.965 MB / 1.454 GB, free: 9.602 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002802/0.6832, allocations: 2.387 MB / 1.456 GB, free: 7.184 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.6837, allocations: 91.44 kB / 1.457 GB, free: 7.094 MB / 1.154 GB Notification: Performance of SimCode: time 1.162e-06/0.6837, allocations: 4 kB / 1.457 GB, free: 7.09 MB / 1.154 GB Notification: Performance of Templates: time 0.107/0.7907, allocations: 79.74 MB / 1.534 GB, free: 7.43 MB / 1.233 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 18.668139996996615]