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.0103/0.0103, allocations: 101.2 kB / 15.73 MB, free: 5.59 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.00206/0.00206, allocations: 189.6 kB / 16.67 MB, free: 5.523 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.56/1.56, allocations: 222.9 MB / 240.4 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.658/2.658, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001584, allocations: 63.91 kB / 1.054 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.8755, allocations: 157.4 MB / 1.208 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06578/0.9414, allocations: 60.61 MB / 1.267 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.9629, allocations: 13.2 MB / 1.28 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.9657, allocations: 71.56 kB / 1.28 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.9695, allocations: 0.974 MB / 1.281 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008818/0.9784, allocations: 2.314 MB / 1.283 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005135/0.9836, allocations: 1.583 MB / 1.285 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00693/0.9905, allocations: 4.322 MB / 1.289 GB, free: 10.22 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.9931, allocations: 1.349 MB / 1.29 GB, free: 8.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004486/0.9976, allocations: 1.609 MB / 1.292 GB, free: 7.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/1, allocations: 1.206 MB / 1.293 GB, free: 6.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005426/1.001, allocations: 140 kB / 1.293 GB, free: 5.883 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/1.005, allocations: 1.474 MB / 1.295 GB, free: 4.406 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000721/1.005, allocations: 414.4 kB / 1.295 GB, free: 4 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0019/1.007, allocations: 0.9135 MB / 1.296 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00597/1.013, allocations: 2.783 MB / 1.299 GB, free: 300 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.013, allocations: 0 / 1.299 GB, free: 300 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.905e-06/1.013, allocations: 11.94 kB / 1.299 GB, free: 288 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.062e-05/1.013, allocations: 0 / 1.299 GB, free: 288 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.005034/1.018, allocations: 2.178 MB / 1.301 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.019, allocations: 12.02 kB / 1.301 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/1.022, allocations: 0.5565 MB / 1.301 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/1.025, allocations: 1.449 MB / 1.303 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/1.025, allocations: 149.4 kB / 1.303 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/1.026, allocations: 100 kB / 1.303 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/1.029, allocations: 1.323 MB / 1.304 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/1.029, allocations: 0 / 1.304 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/1.029, allocations: 39.98 kB / 1.304 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/1.029, allocations: 24 kB / 1.304 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003727/1.033, allocations: 1.343 MB / 1.306 GB, free: 8.949 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.008608/1.041, allocations: 5.45 MB / 1.311 GB, free: 3.141 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005222/1.047, allocations: 1.346 MB / 1.312 GB, free: 1.773 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/1.048, allocations: 0.6003 MB / 1.313 GB, free: 1.172 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/1.05, allocations: 1.236 MB / 1.314 GB, free: 15.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/1.052, allocations: 0.6627 MB / 1.315 GB, free: 14.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 3.707e-06/1.052, allocations: 4 kB / 1.315 GB, free: 14.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.005086/1.057, allocations: 1.688 MB / 1.316 GB, free: 13.29 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/1.057, allocations: 63.95 kB / 1.316 GB, free: 13.21 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/1.059, allocations: 1.287 MB / 1.318 GB, free: 11.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/1.059, allocations: 49.69 kB / 1.318 GB, free: 11.86 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007095/1.06, allocations: 0.6503 MB / 1.318 GB, free: 11.2 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/1.06, allocations: 236.5 kB / 1.318 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/1.061, allocations: 178.4 kB / 1.319 GB, free: 10.79 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.061, allocations: 337.9 kB / 1.319 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/1.063, allocations: 0.5239 MB / 1.319 GB, free: 9.922 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/1.064, allocations: 0.7597 MB / 1.32 GB, free: 9.078 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/1.067, allocations: 1.144 MB / 1.321 GB, free: 7.887 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.067, allocations: 0 / 1.321 GB, free: 7.887 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003912/1.071, allocations: 1.407 MB / 1.323 GB, free: 6.461 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/1.071, allocations: 34.02 kB / 1.323 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.071, allocations: 8 kB / 1.323 GB, free: 6.414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/1.071, allocations: 11.94 kB / 1.323 GB, free: 6.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.073, allocations: 255.6 kB / 1.323 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-05/1.073, allocations: 8 kB / 1.323 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.074, allocations: 187 kB / 1.323 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.074, allocations: 35.98 kB / 1.323 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001941/1.076, allocations: 0.7868 MB / 1.324 GB, free: 5.137 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001734/1.078, allocations: 0.7477 MB / 1.325 GB, free: 4.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002969/1.081, allocations: 1.132 MB / 1.326 GB, free: 3.129 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.196e-06/1.081, allocations: 7.938 kB / 1.326 GB, free: 3.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.00386/1.085, allocations: 1.395 MB / 1.327 GB, free: 1.711 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/1.085, allocations: 37.69 kB / 1.327 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/1.085, allocations: 4 kB / 1.327 GB, free: 1.664 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/1.085, allocations: 4 kB / 1.327 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/1.086, allocations: 251.9 kB / 1.327 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/1.086, allocations: 19.88 kB / 1.328 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.088, allocations: 179.2 kB / 1.328 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/1.088, allocations: 39.98 kB / 1.328 GB, free: 1.18 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.0003763/1.088, allocations: 228.1 kB / 1.328 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/1.089, allocations: 146.2 kB / 1.328 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/1.093, allocations: 1.458 MB / 1.329 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/1.093, allocations: 15.94 kB / 1.33 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.093, allocations: 0 / 1.33 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002983/1.096, allocations: 1.23 MB / 1.331 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007597/1.104, allocations: 3.191 MB / 1.334 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.104, allocations: 4 kB / 1.334 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/1.105, allocations: 224.2 kB / 1.334 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.456e-05/1.105, allocations: 11.98 kB / 1.334 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/1.105, allocations: 31.92 kB / 1.334 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.474e-05/1.105, allocations: 15.92 kB / 1.334 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.105, allocations: 4 kB / 1.334 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/1.11, allocations: 2.216 MB / 1.336 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000921/1.111, allocations: 342.9 kB / 1.337 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/1.112, allocations: 27.92 kB / 1.337 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.113, allocations: 127.9 kB / 1.337 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.113, allocations: 72.36 kB / 1.337 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.113, allocations: 43.91 kB / 1.337 GB, free: 7.496 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002089/1.116, allocations: 0.9246 MB / 1.338 GB, free: 6.574 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.41e-07/1.116, allocations: 3.938 kB / 1.338 GB, free: 6.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003374/1.119, allocations: 0.7993 MB / 1.339 GB, free: 5.77 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.001353/1.12, allocations: 0.5142 MB / 1.339 GB, free: 5.262 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005546/1.126, allocations: 2.004 MB / 1.341 GB, free: 3.242 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.126, allocations: 8.062 kB / 1.341 GB, free: 3.234 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/1.128, allocations: 0.6756 MB / 1.342 GB, free: 2.555 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/1.132, allocations: 0.754 MB / 1.342 GB, free: 1.809 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/1.139, allocations: 2.847 MB / 1.345 GB, free: 14.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.14, allocations: 1.234 MB / 1.346 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001617/1.141, allocations: 371.5 kB / 1.347 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/1.142, allocations: 123.4 kB / 1.347 GB, free: 13.13 MB / 1.076 GB Notification: Performance of SimCode: time 1.042e-06/1.142, allocations: 4 kB / 1.347 GB, free: 13.12 MB / 1.076 GB Notification: Performance of Templates: time 0.05408/1.196, allocations: 31.8 MB / 1.378 GB, free: 13.72 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches