Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,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_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,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_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 112 kB / 16.42 MB, free: 6.406 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.00148/0.001481, allocations: 183.9 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.507/1.507, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 64.12 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.06598/1.068, allocations: 60.6 MB / 1.268 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0207/1.088, allocations: 13.24 MB / 1.281 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00348/1.092, allocations: 71.56 kB / 1.281 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003556/1.096, allocations: 0.9779 MB / 1.282 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008098/1.104, allocations: 2.312 MB / 1.284 GB, free: 176 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004829/1.109, allocations: 1.596 MB / 1.285 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006883/1.116, allocations: 4.318 MB / 1.29 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/1.118, allocations: 1.353 MB / 1.291 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004198/1.122, allocations: 1.604 MB / 1.293 GB, free: 7.262 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/1.125, allocations: 1.206 MB / 1.294 GB, free: 6.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005966/1.125, allocations: 140 kB / 1.294 GB, free: 5.914 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004093/1.129, allocations: 1.505 MB / 1.295 GB, free: 4.406 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000754/1.13, allocations: 422.5 kB / 1.296 GB, free: 3.992 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002047/1.132, allocations: 0.9289 MB / 1.297 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006247/1.138, allocations: 2.833 MB / 1.299 GB, free: 224 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.138, allocations: 0 / 1.299 GB, free: 224 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.944e-06/1.138, allocations: 0 / 1.299 GB, free: 224 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.616e-05/1.139, allocations: 4 kB / 1.299 GB, free: 220 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.005473/1.144, allocations: 2.213 MB / 1.302 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.144, allocations: 12.03 kB / 1.302 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/1.148, allocations: 0.5527 MB / 1.302 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003961/1.152, allocations: 1.469 MB / 1.304 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/1.152, allocations: 153.4 kB / 1.304 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/1.152, allocations: 100 kB / 1.304 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003298/1.156, allocations: 1.323 MB / 1.305 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/1.156, allocations: 11.92 kB / 1.305 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.156, allocations: 40 kB / 1.305 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/1.156, allocations: 24 kB / 1.305 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/1.16, allocations: 1.343 MB / 1.306 GB, free: 8.816 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.00895/1.169, allocations: 5.486 MB / 1.312 GB, free: 2.973 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/1.171, allocations: 1.067 MB / 1.313 GB, free: 1.863 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/1.173, allocations: 0.5925 MB / 1.313 GB, free: 1.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/1.174, allocations: 1.244 MB / 1.315 GB, free: 15.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001922/1.176, allocations: 0.655 MB / 1.315 GB, free: 15.08 MB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 3.827e-06/1.176, allocations: 0 / 1.315 GB, free: 15.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.005508/1.182, allocations: 1.719 MB / 1.317 GB, free: 13.36 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/1.182, allocations: 59.97 kB / 1.317 GB, free: 13.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/1.184, allocations: 1.34 MB / 1.318 GB, free: 11.94 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/1.184, allocations: 37.7 kB / 1.318 GB, free: 11.89 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006649/1.185, allocations: 0.6778 MB / 1.319 GB, free: 11.21 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/1.185, allocations: 236.6 kB / 1.319 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/1.186, allocations: 178.4 kB / 1.319 GB, free: 10.79 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.186, allocations: 341.9 kB / 1.32 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/1.188, allocations: 0.5278 MB / 1.32 GB, free: 9.922 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/1.19, allocations: 0.7675 MB / 1.321 GB, free: 9.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003346/1.193, allocations: 1.16 MB / 1.322 GB, free: 7.863 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/1.193, allocations: 0 / 1.322 GB, free: 7.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00416/1.197, allocations: 1.423 MB / 1.324 GB, free: 6.422 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/1.197, allocations: 45.62 kB / 1.324 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.197, allocations: 3.938 kB / 1.324 GB, free: 6.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.197, allocations: 8 kB / 1.324 GB, free: 6.359 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.198, allocations: 251.7 kB / 1.324 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/1.199, allocations: 11.94 kB / 1.324 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/1.2, allocations: 191 kB / 1.324 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.2, allocations: 43.91 kB / 1.324 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002064/1.202, allocations: 0.7946 MB / 1.325 GB, free: 5.074 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001783/1.204, allocations: 0.7556 MB / 1.326 GB, free: 4.238 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003028/1.207, allocations: 1.148 MB / 1.327 GB, free: 3.043 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.669e-06/1.207, allocations: 0 / 1.327 GB, free: 3.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003913/1.211, allocations: 1.419 MB / 1.328 GB, free: 1.609 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/1.211, allocations: 38.8 kB / 1.328 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.211, allocations: 0 / 1.328 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.211, allocations: 11.94 kB / 1.328 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.213, allocations: 255.9 kB / 1.328 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/1.213, allocations: 7.984 kB / 1.328 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.214, allocations: 171.4 kB / 1.329 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/1.214, allocations: 35.98 kB / 1.329 GB, free: 1.094 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.0003347/1.215, allocations: 240 kB / 1.329 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/1.215, allocations: 150.1 kB / 1.329 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/1.219, allocations: 1.474 MB / 1.33 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003371/1.223, allocations: 1.242 MB / 1.332 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.223, allocations: 0 / 1.332 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.224, allocations: 342.9 kB / 1.332 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004948/1.224, allocations: 16 kB / 1.332 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.226, allocations: 119.8 kB / 1.332 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.226, allocations: 60.58 kB / 1.332 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004347/1.23, allocations: 1.426 MB / 1.333 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005579/1.236, allocations: 2.213 MB / 1.336 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001649/1.238, allocations: 0.618 MB / 1.336 GB, free: 9.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001728/1.239, allocations: 0.9248 MB / 1.337 GB, free: 8.176 MB / 1.061 GB Notification: Performance of Backend: time 7.12e-07/1.239, allocations: 0 / 1.337 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006798/1.246, allocations: 2.09 MB / 1.339 GB, free: 6.078 MB / 1.061 GB Notification: Performance of SimCode: time 0.006585/1.253, allocations: 3.234 MB / 1.342 GB, free: 2.801 MB / 1.061 GB Notification: Performance of Templates: time 0.06611/1.319, allocations: 38.41 MB / 1.38 GB, free: 12.73 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches