Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_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.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_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.001636/0.001636, allocations: 112.9 kB / 16.42 MB, free: 6.465 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.001914/0.001915, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.402/1.402, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 59.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.885, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06715/0.9522, allocations: 60.46 MB / 1.148 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02326/0.9755, allocations: 13.17 MB / 1.161 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003957/0.9795, allocations: 71.34 kB / 1.161 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003695/0.9832, allocations: 0.983 MB / 1.162 GB, free: 44 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009712/0.9931, allocations: 2.427 MB / 1.164 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005326/0.9984, allocations: 1.541 MB / 1.165 GB, free: 13.76 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007783/1.006, allocations: 4.305 MB / 1.17 GB, free: 11.69 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/1.009, allocations: 1.325 MB / 1.171 GB, free: 11.06 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004856/1.014, allocations: 1.633 MB / 1.173 GB, free: 10.29 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/1.017, allocations: 1.185 MB / 1.174 GB, free: 9.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000462/1.017, allocations: 139.6 kB / 1.174 GB, free: 9.738 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/1.022, allocations: 1.45 MB / 1.175 GB, free: 9.078 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005609/1.022, allocations: 410.6 kB / 1.176 GB, free: 8.766 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/1.024, allocations: 0.9047 MB / 1.177 GB, free: 8.16 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005791/1.03, allocations: 2.751 MB / 1.179 GB, free: 6.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.03, allocations: 0 / 1.179 GB, free: 6.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.342e-06/1.03, allocations: 1.094 kB / 1.179 GB, free: 6.348 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.521e-05/1.03, allocations: 0 / 1.179 GB, free: 6.348 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004384/1.034, allocations: 2.165 MB / 1.181 GB, free: 4.711 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.034, allocations: 13.56 kB / 1.181 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/1.038, allocations: 0.5988 MB / 1.182 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/1.041, allocations: 1.431 MB / 1.183 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/1.041, allocations: 149 kB / 1.183 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/1.041, allocations: 99.31 kB / 1.184 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/1.045, allocations: 1.305 MB / 1.185 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/1.045, allocations: 4 kB / 1.185 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.045, allocations: 37.34 kB / 1.185 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/1.045, allocations: 23.47 kB / 1.185 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003784/1.049, allocations: 1.312 MB / 1.186 GB, free: 1.805 MB / 0.92 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.008221/1.057, allocations: 5.352 MB / 1.191 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005565/1.062, allocations: 1.41 MB / 1.193 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/1.064, allocations: 0.593 MB / 1.193 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009527/1.065, allocations: 1.233 MB / 1.195 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/1.067, allocations: 0.6577 MB / 1.195 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=69): time 4.177e-06/1.067, allocations: 0 / 1.195 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69): time 0.005607/1.073, allocations: 1.68 MB / 1.197 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.073, allocations: 59.53 kB / 1.197 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/1.075, allocations: 1.279 MB / 1.198 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/1.075, allocations: 44.58 kB / 1.198 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/1.075, allocations: 0.6518 MB / 1.199 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/1.076, allocations: 242.2 kB / 1.199 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/1.076, allocations: 177.8 kB / 1.199 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.076, allocations: 332.5 kB / 1.2 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/1.078, allocations: 0.5226 MB / 1.2 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/1.08, allocations: 0.7406 MB / 1.201 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/1.083, allocations: 1.134 MB / 1.202 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.083, allocations: 1.312 kB / 1.202 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004226/1.087, allocations: 1.393 MB / 1.203 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/1.087, allocations: 41.59 kB / 1.203 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.087, allocations: 6.344 kB / 1.203 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/1.087, allocations: 11 kB / 1.203 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.089, allocations: 252.9 kB / 1.204 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/1.089, allocations: 10.81 kB / 1.204 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/1.09, allocations: 183 kB / 1.204 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/1.09, allocations: 34.11 kB / 1.204 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002009/1.092, allocations: 0.7825 MB / 1.205 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00169/1.094, allocations: 0.7356 MB / 1.205 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003062/1.097, allocations: 1.121 MB / 1.206 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/1.097, allocations: 0.9375 kB / 1.206 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004005/1.101, allocations: 1.39 MB / 1.208 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/1.101, allocations: 35.73 kB / 1.208 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.101, allocations: 4 kB / 1.208 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/1.101, allocations: 4 kB / 1.208 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.103, allocations: 251.8 kB / 1.208 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.103, allocations: 7.938 kB / 1.208 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/1.104, allocations: 183.1 kB / 1.208 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-05/1.104, allocations: 39.98 kB / 1.208 GB, free: 2.387 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (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 (95): * Single equations (assignments): 94 * 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.0003159/1.105, allocations: 225 kB / 1.208 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/1.105, allocations: 146.2 kB / 1.209 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003912/1.109, allocations: 1.45 MB / 1.21 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003246/1.112, allocations: 1.218 MB / 1.211 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.112, allocations: 0 / 1.211 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008705/1.113, allocations: 342.9 kB / 1.211 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/1.113, allocations: 12 kB / 1.211 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.115, allocations: 115.9 kB / 1.212 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.115, allocations: 56.58 kB / 1.212 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004298/1.119, allocations: 1.403 MB / 1.213 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00539/1.124, allocations: 2.186 MB / 1.215 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001615/1.126, allocations: 0.6024 MB / 1.216 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001255/1.127, allocations: 0.8881 MB / 1.217 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of Backend: time 1.883e-06/1.127, allocations: 0 / 1.217 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006078/1.133, allocations: 2.024 MB / 1.219 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of SimCode: time 0.005935/1.139, allocations: 3.176 MB / 1.222 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of Templates: time 0.05528/1.195, allocations: 36.97 MB / 1.258 GB, free: 15.79 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches