Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.001916/0.001916, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.002031/0.002031, allocations: 204 kB / 20.09 MB, free: 2.977 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.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.941/2.941, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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_12_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_12_Buildings.Fluid.Chillers.Examples.ElectricEIR") [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.002073/0.002073, allocations: 71.89 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06283/1.074, allocations: 61.42 MB / 1.382 GB, free: 13 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02365/1.098, allocations: 13.23 MB / 1.395 GB, free: 3.512 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004456/1.103, allocations: 100.6 kB / 1.395 GB, free: 3.457 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004169/1.107, allocations: 0.9897 MB / 1.396 GB, free: 2.875 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009353/1.116, allocations: 2.438 MB / 1.398 GB, free: 1.422 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005994/1.122, allocations: 1.586 MB / 1.4 GB, free: 0.5625 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009641/1.132, allocations: 4.342 MB / 1.404 GB, free: 14.46 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/1.134, allocations: 1.125 MB / 1.405 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005975/1.14, allocations: 1.828 MB / 1.407 GB, free: 13.04 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003284/1.144, allocations: 1.246 MB / 1.408 GB, free: 12.48 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005298/1.144, allocations: 142.3 kB / 1.408 GB, free: 12.48 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005273/1.149, allocations: 1.54 MB / 1.41 GB, free: 11.93 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008553/1.15, allocations: 445.7 kB / 1.41 GB, free: 11.66 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002173/1.153, allocations: 0.9196 MB / 1.411 GB, free: 11.09 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007898/1.16, allocations: 2.879 MB / 1.414 GB, free: 10 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/1.16, allocations: 0 / 1.414 GB, free: 10 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.174e-06/1.16, allocations: 1.406 kB / 1.414 GB, free: 10 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.226e-05/1.16, allocations: 0 / 1.414 GB, free: 10 MB / 1.107 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.006455/1.167, allocations: 2.262 MB / 1.416 GB, free: 8.496 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.167, allocations: 13.62 kB / 1.416 GB, free: 8.492 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/1.172, allocations: 0.6284 MB / 1.417 GB, free: 8.348 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/1.175, allocations: 1.474 MB / 1.418 GB, free: 7.504 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/1.176, allocations: 148.6 kB / 1.418 GB, free: 7.402 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/1.176, allocations: 100.7 kB / 1.418 GB, free: 7.371 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/1.18, allocations: 1.383 MB / 1.42 GB, free: 6.832 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/1.18, allocations: 5.906 kB / 1.42 GB, free: 6.828 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/1.18, allocations: 41.41 kB / 1.42 GB, free: 6.797 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/1.18, allocations: 24.25 kB / 1.42 GB, free: 6.797 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004688/1.184, allocations: 1.424 MB / 1.421 GB, free: 6.367 MB / 1.107 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.01011/1.195, allocations: 5.573 MB / 1.427 GB, free: 2.207 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00607/1.201, allocations: 1.353 MB / 1.428 GB, free: 1.527 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/1.203, allocations: 0.5923 MB / 1.429 GB, free: 1.258 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/1.204, allocations: 1.236 MB / 1.43 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00212/1.206, allocations: 0.6841 MB / 1.431 GB, free: 15.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=70): time 2.976e-06/1.206, allocations: 1.25 kB / 1.431 GB, free: 15.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=70): time 0.006186/1.212, allocations: 1.769 MB / 1.432 GB, free: 14.61 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/1.212, allocations: 59.97 kB / 1.432 GB, free: 14.55 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/1.214, allocations: 1.297 MB / 1.434 GB, free: 13.85 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001697/1.215, allocations: 43.33 kB / 1.434 GB, free: 13.81 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007595/1.215, allocations: 0.6738 MB / 1.434 GB, free: 13.21 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/1.216, allocations: 248.8 kB / 1.435 GB, free: 13 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003656/1.216, allocations: 187.1 kB / 1.435 GB, free: 12.88 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.216, allocations: 337 kB / 1.435 GB, free: 12.55 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/1.218, allocations: 0.549 MB / 1.436 GB, free: 12.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/1.22, allocations: 0.7781 MB / 1.436 GB, free: 11.79 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/1.224, allocations: 1.184 MB / 1.437 GB, free: 11.14 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/1.224, allocations: 1.125 kB / 1.437 GB, free: 11.14 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004666/1.228, allocations: 1.46 MB / 1.439 GB, free: 10.44 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/1.229, allocations: 34.95 kB / 1.439 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.229, allocations: 10.52 kB / 1.439 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.229, allocations: 10.5 kB / 1.439 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/1.23, allocations: 266.1 kB / 1.439 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/1.23, allocations: 14.22 kB / 1.439 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/1.232, allocations: 198.1 kB / 1.439 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.232, allocations: 39.77 kB / 1.439 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00238/1.234, allocations: 0.8102 MB / 1.44 GB, free: 9.754 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001984/1.236, allocations: 0.7697 MB / 1.441 GB, free: 9.25 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003523/1.24, allocations: 1.176 MB / 1.442 GB, free: 8.605 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.051e-06/1.24, allocations: 4.75 kB / 1.442 GB, free: 8.602 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004525/1.245, allocations: 1.456 MB / 1.444 GB, free: 7.895 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/1.245, allocations: 33.27 kB / 1.444 GB, free: 7.863 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/1.245, allocations: 3.531 kB / 1.444 GB, free: 7.863 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/1.245, allocations: 6.656 kB / 1.444 GB, free: 7.863 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.246, allocations: 268 kB / 1.444 GB, free: 7.781 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/1.246, allocations: 10.75 kB / 1.444 GB, free: 7.777 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/1.248, allocations: 188.7 kB / 1.444 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.248, allocations: 37.5 kB / 1.444 GB, free: 7.672 MB / 1.123 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.0004036/1.248, allocations: 233 kB / 1.444 GB, free: 7.453 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/1.249, allocations: 153 kB / 1.444 GB, free: 7.371 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004584/1.253, allocations: 1.517 MB / 1.446 GB, free: 6.562 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/1.253, allocations: 15.2 kB / 1.446 GB, free: 6.555 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.253, allocations: 0 / 1.446 GB, free: 6.555 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003772/1.257, allocations: 1.266 MB / 1.447 GB, free: 5.895 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00805/1.265, allocations: 3.269 MB / 1.45 GB, free: 3.656 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/1.265, allocations: 7.719 kB / 1.45 GB, free: 3.652 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.266, allocations: 225.4 kB / 1.451 GB, free: 3.586 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/1.266, allocations: 12.27 kB / 1.451 GB, free: 3.582 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.551e-05/1.267, allocations: 35.08 kB / 1.451 GB, free: 3.559 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/1.267, allocations: 11.97 kB / 1.451 GB, free: 3.555 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.267, allocations: 8.719 kB / 1.451 GB, free: 3.551 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006659/1.273, allocations: 2.302 MB / 1.453 GB, free: 2.031 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.274, allocations: 355.8 kB / 1.453 GB, free: 1.664 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/1.275, allocations: 27.94 kB / 1.453 GB, free: 1.637 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.276, allocations: 139.9 kB / 1.453 GB, free: 1.5 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/1.276, allocations: 72.36 kB / 1.453 GB, free: 1.43 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.276, allocations: 39.97 kB / 1.454 GB, free: 1.391 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001543/1.278, allocations: 0.925 MB / 1.454 GB, free: 480 kB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.278, allocations: 0 / 1.454 GB, free: 480 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.002786/1.281, allocations: 0.8226 MB / 1.455 GB, free: 15.64 MB / 1.139 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.001276/1.282, allocations: 0.4997 MB / 1.456 GB, free: 15.14 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006383/1.288, allocations: 2.003 MB / 1.458 GB, free: 13.12 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.288, allocations: 4.062 kB / 1.458 GB, free: 13.12 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003013/1.291, allocations: 0.6599 MB / 1.458 GB, free: 12.46 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006303/1.298, allocations: 0.7518 MB / 1.459 GB, free: 11.71 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.309, allocations: 2.98 MB / 1.462 GB, free: 8.637 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/1.31, allocations: 1.237 MB / 1.463 GB, free: 7.371 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/1.311, allocations: 139.4 kB / 1.463 GB, free: 7.234 MB / 1.139 GB Notification: Performance of SimCode: time 1.633e-06/1.311, allocations: 0 / 1.463 GB, free: 7.234 MB / 1.139 GB Notification: Performance of Templates: time 0.0803/1.392, allocations: 27.37 MB / 1.49 GB, free: 12.07 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.76015934899624]