Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.001366/0.001366, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001615/0.001615, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.508/1.508, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.901/2.901, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9546/0.9566, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0732/1.03, allocations: 61.62 MB / 1.334 GB, free: 6.699 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0221/1.052, allocations: 13.26 MB / 1.347 GB, free: 9.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002845/1.055, allocations: 71.56 kB / 1.347 GB, free: 9.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003311/1.058, allocations: 0.9976 MB / 1.348 GB, free: 8.336 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007588/1.066, allocations: 2.445 MB / 1.351 GB, free: 5.883 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004664/1.07, allocations: 1.598 MB / 1.352 GB, free: 4.293 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007082/1.077, allocations: 4.343 MB / 1.356 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/1.08, allocations: 1.08 MB / 1.357 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004713/1.084, allocations: 1.611 MB / 1.359 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/1.087, allocations: 1.26 MB / 1.36 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003649/1.087, allocations: 144 kB / 1.36 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/1.091, allocations: 1.505 MB / 1.362 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005766/1.092, allocations: 438.2 kB / 1.362 GB, free: 9.867 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001479/1.093, allocations: 0.9095 MB / 1.363 GB, free: 8.953 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005283/1.098, allocations: 2.795 MB / 1.366 GB, free: 6.148 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.098, allocations: 8 kB / 1.366 GB, free: 6.141 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/1.098, allocations: 0 / 1.366 GB, free: 6.141 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.319e-05/1.098, allocations: 0 / 1.366 GB, free: 6.141 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.005022/1.104, allocations: 2.253 MB / 1.368 GB, free: 3.816 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.104, allocations: 8.031 kB / 1.368 GB, free: 3.809 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00446/1.108, allocations: 0.62 MB / 1.369 GB, free: 3.188 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/1.111, allocations: 1.474 MB / 1.37 GB, free: 1.664 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/1.111, allocations: 141.4 kB / 1.37 GB, free: 1.512 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/1.112, allocations: 107.9 kB / 1.37 GB, free: 1.406 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/1.115, allocations: 1.373 MB / 1.372 GB, free: 0 / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/1.115, allocations: 0 / 1.372 GB, free: 0 / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/1.115, allocations: 40.08 kB / 1.372 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/1.115, allocations: 24 kB / 1.372 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004401/1.12, allocations: 1.425 MB / 1.373 GB, free: 14.51 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009608/1.129, allocations: 5.576 MB / 1.379 GB, free: 8.578 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006233/1.136, allocations: 1.345 MB / 1.38 GB, free: 7.207 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/1.138, allocations: 0.5997 MB / 1.381 GB, free: 6.605 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/1.139, allocations: 1.244 MB / 1.382 GB, free: 5.082 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002328/1.141, allocations: 0.6783 MB / 1.382 GB, free: 4.395 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 3.196e-06/1.141, allocations: 0 / 1.382 GB, free: 4.395 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.006209/1.148, allocations: 1.77 MB / 1.384 GB, free: 2.617 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/1.148, allocations: 59.97 kB / 1.384 GB, free: 2.547 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/1.15, allocations: 1.295 MB / 1.385 GB, free: 1.242 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/1.15, allocations: 45.7 kB / 1.386 GB, free: 1.191 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007141/1.151, allocations: 0.6551 MB / 1.386 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/1.151, allocations: 257.8 kB / 1.386 GB, free: 280 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/1.151, allocations: 178.5 kB / 1.387 GB, free: 96 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.152, allocations: 341.9 kB / 1.387 GB, free: 15.75 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/1.153, allocations: 0.5473 MB / 1.387 GB, free: 15.2 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/1.155, allocations: 0.7793 MB / 1.388 GB, free: 14.34 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/1.159, allocations: 1.187 MB / 1.389 GB, free: 13.11 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/1.159, allocations: 7.938 kB / 1.389 GB, free: 13.1 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00483/1.164, allocations: 1.458 MB / 1.391 GB, free: 11.63 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/1.164, allocations: 33.7 kB / 1.391 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.164, allocations: 3.984 kB / 1.391 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/1.164, allocations: 12.25 kB / 1.391 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.166, allocations: 271.6 kB / 1.391 GB, free: 11.31 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/1.166, allocations: 4 kB / 1.391 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.168, allocations: 195.3 kB / 1.391 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/1.168, allocations: 39.98 kB / 1.391 GB, free: 11.07 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002487/1.17, allocations: 0.8063 MB / 1.392 GB, free: 10.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002147/1.172, allocations: 0.7751 MB / 1.393 GB, free: 9.406 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003645/1.176, allocations: 1.179 MB / 1.394 GB, free: 8.176 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/1.176, allocations: 0 / 1.394 GB, free: 8.176 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004699/1.181, allocations: 1.451 MB / 1.395 GB, free: 6.715 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/1.181, allocations: 41.69 kB / 1.395 GB, free: 6.668 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.181, allocations: 4 kB / 1.395 GB, free: 6.664 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/1.181, allocations: 8 kB / 1.396 GB, free: 6.656 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/1.182, allocations: 263.7 kB / 1.396 GB, free: 6.398 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/1.182, allocations: 7.938 kB / 1.396 GB, free: 6.391 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/1.184, allocations: 187.4 kB / 1.396 GB, free: 6.207 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.184, allocations: 47.97 kB / 1.396 GB, free: 6.16 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000341/1.184, allocations: 228.1 kB / 1.396 GB, free: 5.93 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/1.185, allocations: 151 kB / 1.396 GB, free: 5.781 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/1.19, allocations: 1.509 MB / 1.398 GB, free: 4.25 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/1.19, allocations: 11.94 kB / 1.398 GB, free: 4.238 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.19, allocations: 0 / 1.398 GB, free: 4.238 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003791/1.193, allocations: 1.277 MB / 1.399 GB, free: 2.93 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00809/1.201, allocations: 3.265 MB / 1.402 GB, free: 15.51 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.201, allocations: 4 kB / 1.402 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.203, allocations: 240.2 kB / 1.403 GB, free: 15.27 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/1.203, allocations: 7.984 kB / 1.403 GB, free: 15.26 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/1.203, allocations: 31.86 kB / 1.403 GB, free: 15.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.203, allocations: 8 kB / 1.403 GB, free: 15.22 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.203, allocations: 4 kB / 1.403 GB, free: 15.22 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006561/1.209, allocations: 2.303 MB / 1.405 GB, free: 12.84 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009562/1.21, allocations: 359.7 kB / 1.405 GB, free: 12.47 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003894/1.211, allocations: 19.94 kB / 1.405 GB, free: 12.45 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/1.212, allocations: 139.9 kB / 1.405 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.213, allocations: 72.36 kB / 1.405 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.213, allocations: 35.97 kB / 1.405 GB, free: 12.21 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001665/1.214, allocations: 0.9247 MB / 1.406 GB, free: 11.29 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.214, allocations: 3.938 kB / 1.406 GB, free: 11.29 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002672/1.217, allocations: 0.8109 MB / 1.407 GB, free: 10.47 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/1.219, allocations: 0.5241 MB / 1.408 GB, free: 9.957 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006522/1.225, allocations: 2.007 MB / 1.41 GB, free: 7.93 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.225, allocations: 4 kB / 1.41 GB, free: 7.926 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/1.227, allocations: 0.6718 MB / 1.41 GB, free: 7.25 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/1.232, allocations: 0.769 MB / 1.411 GB, free: 6.492 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007455/1.239, allocations: 2.919 MB / 1.414 GB, free: 3.484 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.24, allocations: 1.237 MB / 1.415 GB, free: 2.211 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00198/1.242, allocations: 371.5 kB / 1.415 GB, free: 1.844 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/1.243, allocations: 127.4 kB / 1.416 GB, free: 1.719 MB / 1.107 GB Notification: Performance of SimCode: time 2.415e-06/1.243, allocations: 0 / 1.416 GB, free: 1.719 MB / 1.107 GB Notification: Performance of Templates: time 0.0632/1.306, allocations: 32.49 MB / 1.447 GB, free: 1.633 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.527595618739724]