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.00142/0.00142, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001568/0.001568, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8382/0.8397, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06383/0.9036, allocations: 60.61 MB / 1.268 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02019/0.9238, allocations: 13.21 MB / 1.281 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/0.927, allocations: 67.62 kB / 1.281 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003948/0.931, allocations: 0.974 MB / 1.282 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007809/0.9389, allocations: 2.308 MB / 1.284 GB, free: 216 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.9436, allocations: 1.588 MB / 1.285 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006581/0.9502, allocations: 4.314 MB / 1.29 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.9528, allocations: 1.353 MB / 1.291 GB, free: 8.918 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004168/0.957, allocations: 1.611 MB / 1.292 GB, free: 7.305 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.9595, allocations: 1.202 MB / 1.294 GB, free: 6.098 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000589/0.9601, allocations: 144 kB / 1.294 GB, free: 5.957 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003769/0.9639, allocations: 1.474 MB / 1.295 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007262/0.9646, allocations: 418.5 kB / 1.296 GB, free: 4.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.9665, allocations: 0.9134 MB / 1.296 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005589/0.9721, allocations: 2.786 MB / 1.299 GB, free: 368 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.9722, allocations: 0 / 1.299 GB, free: 368 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9722, allocations: 0 / 1.299 GB, free: 368 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.19e-05/0.9723, allocations: 0 / 1.299 GB, free: 368 kB / 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.005151/0.9774, allocations: 2.185 MB / 1.301 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.9775, allocations: 12.03 kB / 1.301 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003958/0.9815, allocations: 0.5526 MB / 1.302 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.9845, allocations: 1.445 MB / 1.303 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.9848, allocations: 145.4 kB / 1.303 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.985, allocations: 100 kB / 1.304 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.9885, allocations: 1.323 MB / 1.305 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.9886, allocations: 11.88 kB / 1.305 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.9887, allocations: 36 kB / 1.305 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/0.9888, allocations: 28 kB / 1.305 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003911/0.9927, allocations: 1.335 MB / 1.306 GB, free: 9.027 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.008448/1.001, allocations: 5.453 MB / 1.312 GB, free: 3.215 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005623/1.007, allocations: 1.342 MB / 1.313 GB, free: 1.852 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/1.009, allocations: 0.6042 MB / 1.313 GB, free: 1.246 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009973/1.01, allocations: 1.24 MB / 1.315 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001926/1.012, allocations: 0.6588 MB / 1.315 GB, free: 15.06 MB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 3.256e-06/1.012, allocations: 0 / 1.315 GB, free: 15.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.005482/1.017, allocations: 1.691 MB / 1.317 GB, free: 13.36 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/1.017, allocations: 59.97 kB / 1.317 GB, free: 13.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/1.019, allocations: 1.291 MB / 1.318 GB, free: 11.99 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/1.019, allocations: 41.7 kB / 1.318 GB, free: 11.94 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/1.02, allocations: 0.6503 MB / 1.319 GB, free: 11.28 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/1.02, allocations: 244.5 kB / 1.319 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/1.021, allocations: 178.4 kB / 1.319 GB, free: 10.86 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.021, allocations: 338 kB / 1.32 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/1.023, allocations: 0.5239 MB / 1.32 GB, free: 9.996 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/1.024, allocations: 0.7519 MB / 1.321 GB, free: 9.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/1.028, allocations: 1.152 MB / 1.322 GB, free: 7.961 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/1.028, allocations: 0 / 1.322 GB, free: 7.961 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00416/1.032, allocations: 1.411 MB / 1.323 GB, free: 6.531 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/1.032, allocations: 33.64 kB / 1.323 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.032, allocations: 4 kB / 1.323 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/1.032, allocations: 11.94 kB / 1.323 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/1.033, allocations: 251.7 kB / 1.324 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.742e-05/1.033, allocations: 15.92 kB / 1.324 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.035, allocations: 187 kB / 1.324 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.035, allocations: 39.98 kB / 1.324 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002109/1.037, allocations: 0.779 MB / 1.325 GB, free: 5.211 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001794/1.039, allocations: 0.7477 MB / 1.325 GB, free: 4.383 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003191/1.042, allocations: 1.136 MB / 1.327 GB, free: 3.199 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/1.042, allocations: 0 / 1.327 GB, free: 3.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004055/1.046, allocations: 1.391 MB / 1.328 GB, free: 1.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/1.046, allocations: 33.7 kB / 1.328 GB, free: 1.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.046, allocations: 4 kB / 1.328 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.046, allocations: 11.98 kB / 1.328 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.048, allocations: 259.9 kB / 1.328 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/1.048, allocations: 11.94 kB / 1.328 GB, free: 1.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.049, allocations: 179.2 kB / 1.328 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.049, allocations: 43.91 kB / 1.328 GB, free: 1.254 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.0003513/1.05, allocations: 236.1 kB / 1.329 GB, free: 1.016 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/1.05, allocations: 146.2 kB / 1.329 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/1.054, allocations: 1.454 MB / 1.33 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/1.055, allocations: 11.94 kB / 1.33 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.055, allocations: 8 kB / 1.33 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003247/1.058, allocations: 1.222 MB / 1.331 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/1.065, allocations: 3.191 MB / 1.335 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.065, allocations: 4 kB / 1.335 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/1.066, allocations: 224.2 kB / 1.335 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/1.066, allocations: 8 kB / 1.335 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/1.066, allocations: 35.86 kB / 1.335 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/1.066, allocations: 8 kB / 1.335 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.066, allocations: 7.938 kB / 1.335 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00575/1.072, allocations: 2.216 MB / 1.337 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008105/1.073, allocations: 350.9 kB / 1.337 GB, free: 7.832 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/1.073, allocations: 20 kB / 1.337 GB, free: 7.812 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/1.075, allocations: 135.8 kB / 1.337 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.075, allocations: 72.36 kB / 1.338 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.075, allocations: 43.97 kB / 1.338 GB, free: 7.566 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001607/1.077, allocations: 0.9168 MB / 1.338 GB, free: 6.652 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.077, allocations: 0 / 1.338 GB, free: 6.652 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002481/1.079, allocations: 0.8032 MB / 1.339 GB, free: 5.848 MB / 1.061 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.001296/1.081, allocations: 0.5172 MB / 1.34 GB, free: 5.336 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005713/1.086, allocations: 2.003 MB / 1.342 GB, free: 3.316 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.086, allocations: 0 / 1.342 GB, free: 3.316 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001933/1.088, allocations: 0.6679 MB / 1.342 GB, free: 2.645 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004158/1.092, allocations: 0.7537 MB / 1.343 GB, free: 1.902 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00701/1.1, allocations: 2.889 MB / 1.346 GB, free: 14.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000966/1.101, allocations: 1.234 MB / 1.347 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/1.101, allocations: 139.4 kB / 1.347 GB, free: 13.52 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/1.101, allocations: 0 / 1.347 GB, free: 13.52 MB / 1.076 GB Notification: Performance of Templates: time 0.04257/1.144, allocations: 27.01 MB / 1.374 GB, free: 2.719 MB / 1.092 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