Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001873/0.001873, 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.001558/0.001558, allocations: 189.6 kB / 22.22 MB, free: 5.102 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.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.125/3.125, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 64.03 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3499, allocations: 174.9 MB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01923/0.3691, allocations: 14.59 MB / 1.33 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.3849, allocations: 9.766 MB / 1.34 GB, free: 1.316 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.3863, allocations: 75.31 kB / 1.34 GB, free: 1.242 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004828/0.3912, allocations: 1.738 MB / 1.342 GB, free: 15.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005282/0.3964, allocations: 1.6 MB / 1.343 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.3987, allocations: 0.7713 MB / 1.344 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003982/0.4027, allocations: 2.521 MB / 1.346 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.4045, allocations: 0.9976 MB / 1.347 GB, free: 9.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.4064, allocations: 1.09 MB / 1.348 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.4084, allocations: 1.206 MB / 1.35 GB, free: 7.254 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.4087, allocations: 168 kB / 1.35 GB, free: 7.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.4104, allocations: 0.7994 MB / 1.351 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007369/0.4111, allocations: 0.6425 MB / 1.351 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.4123, allocations: 0.9368 MB / 1.352 GB, free: 4.703 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003896/0.4162, allocations: 2.763 MB / 1.355 GB, free: 1.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.4162, allocations: 4 kB / 1.355 GB, free: 1.926 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4162, allocations: 0 / 1.355 GB, free: 1.926 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.712e-05/0.4162, allocations: 0 / 1.355 GB, free: 1.926 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004263/0.4205, allocations: 2.116 MB / 1.357 GB, free: 15.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4206, allocations: 8.031 kB / 1.357 GB, free: 15.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.4312, allocations: 2.094 MB / 1.359 GB, free: 13.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.4346, allocations: 1.223 MB / 1.36 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.4347, allocations: 90.73 kB / 1.36 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.435, allocations: 120.1 kB / 1.36 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005999/0.441, allocations: 2.679 MB / 1.363 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.4411, allocations: 7.953 kB / 1.363 GB, free: 9.348 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.4412, allocations: 55.98 kB / 1.363 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005886/0.4418, allocations: 178.1 kB / 1.363 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007328/0.4492, allocations: 2.803 MB / 1.366 GB, free: 6.305 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01678/0.4659, allocations: 10.36 MB / 1.376 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006396/0.4723, allocations: 2.223 MB / 1.378 GB, free: 9.133 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003055/0.4754, allocations: 1.203 MB / 1.379 GB, free: 7.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.551e-05/0.4755, allocations: 20.88 kB / 1.379 GB, free: 7.906 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.4755, allocations: 43.56 kB / 1.379 GB, free: 7.855 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 2.495e-06/0.4755, allocations: 0 / 1.379 GB, free: 7.855 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04493/0.5204, allocations: 12.66 MB / 1.392 GB, free: 11.14 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.5205, allocations: 72.7 kB / 1.392 GB, free: 11.06 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.5223, allocations: 1.117 MB / 1.393 GB, free: 9.926 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.5225, allocations: 45.7 kB / 1.393 GB, free: 9.875 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006336/0.5232, allocations: 0.7287 MB / 1.394 GB, free: 9.141 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006152/0.5238, allocations: 471.8 kB / 1.394 GB, free: 8.68 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005998/0.5244, allocations: 263.5 kB / 1.394 GB, free: 8.414 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.5246, allocations: 361.9 kB / 1.395 GB, free: 8.055 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/0.5279, allocations: 1.346 MB / 1.396 GB, free: 6.707 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/0.5315, allocations: 1.6 MB / 1.398 GB, free: 5.008 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006816/0.5383, allocations: 2.994 MB / 1.401 GB, free: 1.918 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.5383, allocations: 0 / 1.401 GB, free: 1.918 MB / 1.092 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01164/0.5499, allocations: 4.404 MB / 1.405 GB, free: 13.46 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.55, allocations: 8 kB / 1.405 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.55, allocations: 8 kB / 1.405 GB, free: 13.44 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005408/0.5554, allocations: 1.431 MB / 1.406 GB, free: 11.97 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.5574, allocations: 443.2 kB / 1.407 GB, free: 11.54 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02906/0.5864, allocations: 25.36 MB / 1.431 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.5889, allocations: 299.5 kB / 1.432 GB, free: 392 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.589, allocations: 71.89 kB / 1.432 GB, free: 320 kB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008853/0.5899, allocations: 426.3 kB / 1.432 GB, free: 15.88 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/0.5903, allocations: 175 kB / 1.432 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.6017, allocations: 4.41 MB / 1.437 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.6017, allocations: 16.19 kB / 1.437 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.518e-05/0.6017, allocations: 12 kB / 1.437 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.6017, allocations: 15.91 kB / 1.437 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.617, allocations: 6.7 MB / 1.443 GB, free: 4.348 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.617, allocations: 4 kB / 1.443 GB, free: 4.344 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/0.6187, allocations: 379.4 kB / 1.444 GB, free: 3.973 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004698/0.6234, allocations: 1.307 MB / 1.445 GB, free: 2.625 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/0.6236, allocations: 43.95 kB / 1.445 GB, free: 2.582 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02716/0.6507, allocations: 24.17 MB / 1.469 GB, free: 8.91 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6507, allocations: 0 / 1.469 GB, free: 8.91 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.6615, allocations: 4.164 MB / 1.473 GB, free: 4.648 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.6627, allocations: 390.7 kB / 1.473 GB, free: 4.266 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.6629, allocations: 27.98 kB / 1.473 GB, free: 4.238 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/0.6648, allocations: 307.5 kB / 1.473 GB, free: 3.938 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004397/0.6652, allocations: 136.6 kB / 1.473 GB, free: 3.801 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.6653, allocations: 47.97 kB / 1.473 GB, free: 3.754 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001093/0.6664, allocations: 0.7487 MB / 1.474 GB, free: 3.004 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6664, allocations: 0 / 1.474 GB, free: 3.004 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002113/0.6686, allocations: 0.5703 MB / 1.475 GB, free: 2.434 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003288/0.6689, allocations: 145 kB / 1.475 GB, free: 2.285 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01106/0.6799, allocations: 4.966 MB / 1.48 GB, free: 13.15 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.68, allocations: 0 / 1.48 GB, free: 13.15 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007131/0.6871, allocations: 3.425 MB / 1.483 GB, free: 9.555 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.6894, allocations: 0.5563 MB / 1.484 GB, free: 9.016 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008429/0.6978, allocations: 4.053 MB / 1.488 GB, free: 4.91 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.6991, allocations: 1.477 MB / 1.489 GB, free: 3.402 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001498/0.7006, allocations: 429.6 kB / 1.489 GB, free: 2.977 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.701, allocations: 115.4 kB / 1.49 GB, free: 2.863 MB / 1.186 GB Notification: Performance of SimCode: time 9.82e-07/0.701, allocations: 0 / 1.49 GB, free: 2.863 MB / 1.186 GB Notification: Performance of Templates: time 0.06845/0.7695, allocations: 40.75 MB / 1.529 GB, free: 10.53 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 10.200736861675978]