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.001345/0.001345, allocations: 109.8 kB / 16.42 MB, free: 6.5 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.001416/0.001416, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 60.12 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9322/0.9338, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06427/0.9981, allocations: 60.61 MB / 1.268 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02182/1.02, allocations: 13.19 MB / 1.281 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/1.023, allocations: 71.56 kB / 1.281 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003464/1.027, allocations: 0.9682 MB / 1.282 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007771/1.035, allocations: 2.32 MB / 1.284 GB, free: 348 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004754/1.039, allocations: 1.585 MB / 1.285 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007711/1.047, allocations: 4.322 MB / 1.29 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/1.05, allocations: 1.349 MB / 1.291 GB, free: 9.047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004733/1.054, allocations: 1.607 MB / 1.292 GB, free: 7.438 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002769/1.057, allocations: 1.202 MB / 1.294 GB, free: 6.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003835/1.058, allocations: 144 kB / 1.294 GB, free: 6.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004524/1.062, allocations: 1.47 MB / 1.295 GB, free: 4.617 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/1.063, allocations: 426.4 kB / 1.296 GB, free: 4.199 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/1.064, allocations: 0.9095 MB / 1.296 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005687/1.07, allocations: 2.781 MB / 1.299 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.07, allocations: 0 / 1.299 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.764e-06/1.07, allocations: 0 / 1.299 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.737e-05/1.07, allocations: 0 / 1.299 GB, free: 0.4961 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.004368/1.074, allocations: 2.189 MB / 1.301 GB, free: 14.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.074, allocations: 12.03 kB / 1.301 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/1.078, allocations: 0.5526 MB / 1.302 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/1.081, allocations: 1.449 MB / 1.303 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/1.081, allocations: 149.4 kB / 1.303 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/1.081, allocations: 104 kB / 1.304 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/1.084, allocations: 1.323 MB / 1.305 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/1.084, allocations: 4 kB / 1.305 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/1.084, allocations: 36 kB / 1.305 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/1.084, allocations: 27.94 kB / 1.305 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/1.088, allocations: 1.331 MB / 1.306 GB, free: 9.16 MB / 1.029 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.008179/1.096, allocations: 5.457 MB / 1.312 GB, free: 3.344 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005557/1.102, allocations: 1.339 MB / 1.313 GB, free: 1.984 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/1.103, allocations: 0.6081 MB / 1.313 GB, free: 1.375 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.105, allocations: 1.239 MB / 1.315 GB, free: 15.86 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/1.106, allocations: 0.6549 MB / 1.315 GB, free: 15.19 MB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 3.667e-06/1.106, allocations: 0 / 1.315 GB, free: 15.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.005175/1.112, allocations: 1.691 MB / 1.317 GB, free: 13.49 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/1.112, allocations: 63.97 kB / 1.317 GB, free: 13.42 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/1.113, allocations: 1.295 MB / 1.318 GB, free: 12.11 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/1.114, allocations: 41.7 kB / 1.318 GB, free: 12.07 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/1.114, allocations: 0.6542 MB / 1.319 GB, free: 11.4 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/1.114, allocations: 240.5 kB / 1.319 GB, free: 11.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/1.115, allocations: 178.4 kB / 1.319 GB, free: 10.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000195/1.115, allocations: 334 kB / 1.32 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/1.117, allocations: 0.5278 MB / 1.32 GB, free: 10.12 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/1.118, allocations: 0.7558 MB / 1.321 GB, free: 9.281 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/1.122, allocations: 1.14 MB / 1.322 GB, free: 8.094 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.122, allocations: 0 / 1.322 GB, free: 8.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00411/1.126, allocations: 1.403 MB / 1.323 GB, free: 6.672 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/1.126, allocations: 43.09 kB / 1.323 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.126, allocations: 0 / 1.323 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/1.126, allocations: 8.312 kB / 1.323 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.127, allocations: 259.5 kB / 1.324 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/1.127, allocations: 11.98 kB / 1.324 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.129, allocations: 183 kB / 1.324 GB, free: 6.172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-05/1.129, allocations: 43.97 kB / 1.324 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001926/1.131, allocations: 0.779 MB / 1.325 GB, free: 5.348 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001707/1.132, allocations: 0.7439 MB / 1.325 GB, free: 4.523 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003063/1.135, allocations: 1.14 MB / 1.327 GB, free: 3.336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.428e-06/1.136, allocations: 0 / 1.327 GB, free: 3.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003937/1.139, allocations: 1.396 MB / 1.328 GB, free: 1.926 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/1.14, allocations: 33.7 kB / 1.328 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.14, allocations: 7.938 kB / 1.328 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.14, allocations: 8 kB / 1.328 GB, free: 1.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.141, allocations: 255.6 kB / 1.328 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/1.141, allocations: 11.94 kB / 1.328 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.142, allocations: 183.2 kB / 1.328 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.143, allocations: 39.97 kB / 1.328 GB, free: 1.391 MB / 1.045 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.0003821/1.143, allocations: 232.1 kB / 1.329 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/1.143, allocations: 146.2 kB / 1.329 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/1.147, allocations: 1.462 MB / 1.33 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003054/1.151, allocations: 1.226 MB / 1.331 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.151, allocations: 4 kB / 1.331 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007887/1.151, allocations: 338.9 kB / 1.332 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/1.152, allocations: 12 kB / 1.332 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.153, allocations: 123.8 kB / 1.332 GB, free: 13.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.153, allocations: 52.58 kB / 1.332 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004257/1.157, allocations: 1.414 MB / 1.333 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005292/1.162, allocations: 2.194 MB / 1.335 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00157/1.164, allocations: 0.6102 MB / 1.336 GB, free: 9.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00157/1.166, allocations: 0.8884 MB / 1.337 GB, free: 8.594 MB / 1.061 GB Notification: Performance of Backend: time 6.71e-07/1.166, allocations: 0 / 1.337 GB, free: 8.594 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006563/1.172, allocations: 2.061 MB / 1.339 GB, free: 6.527 MB / 1.061 GB Notification: Performance of SimCode: time 0.006948/1.179, allocations: 3.181 MB / 1.342 GB, free: 3.305 MB / 1.061 GB Notification: Performance of Templates: time 0.06886/1.248, allocations: 37.2 MB / 1.378 GB, free: 14.44 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