Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001646/0.001646, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001811/0.001811, allocations: 193.2 kB / 22.17 MB, free: 5.656 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.489/1.489, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.ACLineMedium,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8859/0.888, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02238/0.9103, allocations: 15.33 MB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.93, allocations: 10.71 MB / 1.299 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.9319, allocations: 63.56 kB / 1.3 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005495/0.9374, allocations: 1.747 MB / 1.301 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.9438, allocations: 1.868 MB / 1.303 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.9463, allocations: 0.7546 MB / 1.304 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004983/0.9513, allocations: 2.75 MB / 1.306 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.9533, allocations: 1.005 MB / 1.307 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.956, allocations: 1.531 MB / 1.309 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.9585, allocations: 1.222 MB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.959, allocations: 160 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.9611, allocations: 0.8032 MB / 1.311 GB, free: 14.42 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008574/0.9619, allocations: 0.6152 MB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.9636, allocations: 0.9561 MB / 1.313 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004132/0.9677, allocations: 2.775 MB / 1.315 GB, free: 10.06 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.9677, allocations: 0 / 1.315 GB, free: 10.06 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.006e-06/0.9677, allocations: 4 kB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.763e-05/0.9677, allocations: 0 / 1.315 GB, free: 10.05 MB / 1.014 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.004811/0.9726, allocations: 2.234 MB / 1.318 GB, free: 7.762 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.9726, allocations: 11.97 kB / 1.318 GB, free: 7.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.9857, allocations: 2.113 MB / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/0.9897, allocations: 1.316 MB / 1.321 GB, free: 4.262 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.9898, allocations: 90.69 kB / 1.321 GB, free: 4.172 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.9901, allocations: 120.1 kB / 1.321 GB, free: 4.055 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006894/0.997, allocations: 2.674 MB / 1.324 GB, free: 1.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.9971, allocations: 11.89 kB / 1.324 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.9973, allocations: 55.98 kB / 1.324 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007739/0.998, allocations: 190.1 kB / 1.324 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00898/1.007, allocations: 2.791 MB / 1.327 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01846/1.025, allocations: 10.47 MB / 1.337 GB, free: 3.125 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007705/1.033, allocations: 2.262 MB / 1.339 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003656/1.037, allocations: 1.202 MB / 1.34 GB, free: 15.63 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/1.037, allocations: 13 kB / 1.34 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/1.037, allocations: 47.56 kB / 1.34 GB, free: 15.56 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 2.725e-06/1.037, allocations: 0 / 1.34 GB, free: 15.56 MB / 1.045 GB Notification: Performance of matching and sorting (n=153): time 0.06686/1.104, allocations: 16.44 MB / 1.356 GB, free: 14.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.104, allocations: 72.7 kB / 1.356 GB, free: 14.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/1.106, allocations: 1.172 MB / 1.358 GB, free: 13.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001957/1.106, allocations: 49.7 kB / 1.358 GB, free: 13.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/1.107, allocations: 0.7607 MB / 1.358 GB, free: 12.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006071/1.107, allocations: 0.5383 MB / 1.359 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006284/1.108, allocations: 287.5 kB / 1.359 GB, free: 12.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.108, allocations: 309.1 kB / 1.36 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0041/1.112, allocations: 1.507 MB / 1.361 GB, free: 10.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/1.116, allocations: 1.78 MB / 1.363 GB, free: 8.355 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008344/1.125, allocations: 3.369 MB / 1.366 GB, free: 4.891 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/1.125, allocations: 4 kB / 1.366 GB, free: 4.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0152/1.14, allocations: 5.215 MB / 1.371 GB, free: 15.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/1.14, allocations: 9.719 kB / 1.371 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.14, allocations: 8 kB / 1.371 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007433/1.147, allocations: 1.881 MB / 1.373 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/1.15, allocations: 415.2 kB / 1.373 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03515/1.185, allocations: 24.15 MB / 1.397 GB, free: 4.043 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/1.188, allocations: 307.5 kB / 1.397 GB, free: 3.742 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.188, allocations: 63.97 kB / 1.397 GB, free: 3.68 MB / 1.092 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000978/1.189, allocations: 477.9 kB / 1.398 GB, free: 3.203 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/1.189, allocations: 179.1 kB / 1.398 GB, free: 3.027 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.204, allocations: 5.253 MB / 1.403 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/1.204, allocations: 19.98 kB / 1.403 GB, free: 13.71 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.402e-05/1.204, allocations: 20 kB / 1.403 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/1.204, allocations: 7.969 kB / 1.403 GB, free: 13.68 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/1.223, allocations: 7.36 MB / 1.41 GB, free: 6.191 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.223, allocations: 0 / 1.41 GB, free: 6.191 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/1.225, allocations: 355.7 kB / 1.411 GB, free: 5.844 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006394/1.232, allocations: 1.707 MB / 1.412 GB, free: 4.113 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/1.232, allocations: 43.95 kB / 1.412 GB, free: 4.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03278/1.265, allocations: 23.31 MB / 1.435 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.265, allocations: 96 / 1.435 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/1.278, allocations: 4.849 MB / 1.44 GB, free: 6.711 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.28, allocations: 499.7 kB / 1.44 GB, free: 6.203 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/1.28, allocations: 28 kB / 1.44 GB, free: 6.176 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002302/1.282, allocations: 319.5 kB / 1.441 GB, free: 5.863 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005887/1.283, allocations: 149 kB / 1.441 GB, free: 5.719 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.283, allocations: 63.91 kB / 1.441 GB, free: 5.656 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001241/1.284, allocations: 0.7899 MB / 1.442 GB, free: 4.867 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.284, allocations: 0 / 1.442 GB, free: 4.867 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002308/1.287, allocations: 0.6562 MB / 1.442 GB, free: 4.211 MB / 1.139 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003899/1.287, allocations: 143.1 kB / 1.442 GB, free: 4.059 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.3, allocations: 4.917 MB / 1.447 GB, free: 15.03 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.3, allocations: 4 kB / 1.447 GB, free: 15.03 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007949/1.308, allocations: 3.265 MB / 1.45 GB, free: 11.66 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.311, allocations: 0.5581 MB / 1.451 GB, free: 11.12 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009968/1.321, allocations: 4.374 MB / 1.455 GB, free: 6.699 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/1.322, allocations: 1.568 MB / 1.457 GB, free: 5.098 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001427/1.324, allocations: 386.4 kB / 1.457 GB, free: 4.715 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/1.324, allocations: 103.4 kB / 1.457 GB, free: 4.613 MB / 1.154 GB Notification: Performance of SimCode: time 8.82e-07/1.324, allocations: 0 / 1.457 GB, free: 4.613 MB / 1.154 GB Notification: Performance of Templates: time 0.08228/1.406, allocations: 46.67 MB / 1.503 GB, free: 6.402 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.446929263882339]