Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 119 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 183.9 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.654/2.654, allocations: 469.4 MB / 0.7428 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.91 kB / 1.066 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.8624, allocations: 159.1 MB / 1.221 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06797/0.9304, allocations: 60.62 MB / 1.28 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02083/0.9513, allocations: 13.19 MB / 1.293 GB, free: 8.332 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.9547, allocations: 71.56 kB / 1.293 GB, free: 8.262 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.9581, allocations: 0.9936 MB / 1.294 GB, free: 7.266 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.9685, allocations: 2.436 MB / 1.296 GB, free: 4.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006228/0.9748, allocations: 1.582 MB / 1.298 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008289/0.9831, allocations: 4.337 MB / 1.302 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.9859, allocations: 1.349 MB / 1.304 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.9901, allocations: 1.615 MB / 1.305 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.9925, allocations: 1.202 MB / 1.306 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006463/0.9932, allocations: 140 kB / 1.306 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.9974, allocations: 1.474 MB / 1.308 GB, free: 9.086 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008582/0.9983, allocations: 422.4 kB / 1.308 GB, free: 8.672 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/1, allocations: 0.9096 MB / 1.309 GB, free: 7.758 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006806/1.007, allocations: 2.786 MB / 1.312 GB, free: 4.965 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.007, allocations: 4 kB / 1.312 GB, free: 4.961 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.304e-06/1.007, allocations: 0 / 1.312 GB, free: 4.961 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.094e-05/1.007, allocations: 4 kB / 1.312 GB, free: 4.957 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.006389/1.014, allocations: 2.182 MB / 1.314 GB, free: 2.707 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.014, allocations: 8.625 kB / 1.314 GB, free: 2.699 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/1.018, allocations: 0.5527 MB / 1.315 GB, free: 2.145 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/1.021, allocations: 1.441 MB / 1.316 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/1.021, allocations: 157.3 kB / 1.316 GB, free: 496 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/1.022, allocations: 104 kB / 1.316 GB, free: 392 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003537/1.025, allocations: 1.323 MB / 1.317 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/1.025, allocations: 0 / 1.317 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/1.025, allocations: 36 kB / 1.318 GB, free: 14.99 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/1.025, allocations: 24 kB / 1.318 GB, free: 14.97 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/1.029, allocations: 1.347 MB / 1.319 GB, free: 13.62 MB / 1.045 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.008346/1.038, allocations: 5.45 MB / 1.324 GB, free: 7.816 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0056/1.043, allocations: 1.348 MB / 1.325 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/1.045, allocations: 0.6036 MB / 1.326 GB, free: 5.836 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/1.047, allocations: 1.232 MB / 1.327 GB, free: 4.328 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002018/1.049, allocations: 0.6627 MB / 1.328 GB, free: 3.656 MB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 6.011e-06/1.049, allocations: 7.938 kB / 1.328 GB, free: 3.648 MB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.005432/1.054, allocations: 1.684 MB / 1.33 GB, free: 1.957 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/1.054, allocations: 59.97 kB / 1.33 GB, free: 1.887 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/1.056, allocations: 1.291 MB / 1.331 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/1.057, allocations: 45.7 kB / 1.331 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007131/1.057, allocations: 0.6463 MB / 1.332 GB, free: 15.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/1.058, allocations: 244.5 kB / 1.332 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/1.058, allocations: 174.4 kB / 1.332 GB, free: 15.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.058, allocations: 338 kB / 1.332 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/1.06, allocations: 0.5317 MB / 1.333 GB, free: 14.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/1.062, allocations: 0.7558 MB / 1.334 GB, free: 13.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/1.065, allocations: 1.144 MB / 1.335 GB, free: 12.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.065, allocations: 0 / 1.335 GB, free: 12.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004076/1.069, allocations: 1.407 MB / 1.336 GB, free: 11.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/1.069, allocations: 37.69 kB / 1.336 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.069, allocations: 8.312 kB / 1.336 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/1.069, allocations: 4 kB / 1.336 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.07, allocations: 259.5 kB / 1.336 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/1.07, allocations: 11.94 kB / 1.336 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.072, allocations: 183.1 kB / 1.337 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/1.072, allocations: 39.97 kB / 1.337 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002061/1.074, allocations: 0.7868 MB / 1.337 GB, free: 9.809 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001783/1.076, allocations: 0.7439 MB / 1.338 GB, free: 8.984 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003119/1.079, allocations: 1.136 MB / 1.339 GB, free: 7.801 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.361e-06/1.079, allocations: 4 kB / 1.339 GB, free: 7.797 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004013/1.083, allocations: 1.395 MB / 1.341 GB, free: 6.387 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/1.083, allocations: 33.7 kB / 1.341 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.083, allocations: 0 / 1.341 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/1.083, allocations: 8 kB / 1.341 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.084, allocations: 255.9 kB / 1.341 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/1.084, allocations: 15.88 kB / 1.341 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/1.086, allocations: 179.2 kB / 1.341 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.086, allocations: 39.97 kB / 1.341 GB, free: 5.859 MB / 1.061 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.0003419/1.087, allocations: 228.1 kB / 1.341 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/1.087, allocations: 146.2 kB / 1.341 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/1.091, allocations: 1.454 MB / 1.343 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003255/1.094, allocations: 1.226 MB / 1.344 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.095, allocations: 0 / 1.344 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/1.095, allocations: 338.9 kB / 1.344 GB, free: 2.398 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/1.096, allocations: 16 kB / 1.344 GB, free: 2.383 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.097, allocations: 127.8 kB / 1.344 GB, free: 2.258 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.097, allocations: 56.58 kB / 1.345 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004495/1.102, allocations: 1.41 MB / 1.346 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005802/1.108, allocations: 2.19 MB / 1.348 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001689/1.109, allocations: 0.6102 MB / 1.349 GB, free: 13.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001677/1.111, allocations: 0.8884 MB / 1.35 GB, free: 13.07 MB / 1.076 GB Notification: Performance of Backend: time 7.02e-07/1.111, allocations: 0 / 1.35 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00754/1.119, allocations: 2.058 MB / 1.352 GB, free: 11 MB / 1.076 GB Notification: Performance of SimCode: time 0.007458/1.126, allocations: 3.188 MB / 1.355 GB, free: 7.77 MB / 1.076 GB Notification: Performance of Templates: time 0.06162/1.188, allocations: 37.22 MB / 1.391 GB, free: 2.898 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches