Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001224/0.001223, allocations: 113.9 kB / 16.42 MB, free: 6.457 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.001427/0.001427, 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.386/1.386, 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 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 59.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8863/0.8879, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.07023/0.9582, allocations: 60.46 MB / 1.148 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.9819, allocations: 13.21 MB / 1.161 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003736/0.9857, allocations: 70.88 kB / 1.161 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005412/0.9912, allocations: 0.9833 MB / 1.162 GB, free: 284 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/1.002, allocations: 2.426 MB / 1.164 GB, free: 14.83 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006632/1.009, allocations: 1.567 MB / 1.166 GB, free: 13.98 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0098/1.019, allocations: 4.292 MB / 1.17 GB, free: 11.92 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/1.022, allocations: 1.321 MB / 1.171 GB, free: 11.29 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/1.028, allocations: 1.628 MB / 1.173 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/1.032, allocations: 1.181 MB / 1.174 GB, free: 9.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000824/1.032, allocations: 138.6 kB / 1.174 GB, free: 9.977 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005944/1.038, allocations: 1.479 MB / 1.175 GB, free: 9.266 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001269/1.04, allocations: 433 kB / 1.176 GB, free: 8.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003474/1.043, allocations: 0.9092 MB / 1.177 GB, free: 8.328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008781/1.052, allocations: 2.796 MB / 1.179 GB, free: 6.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/1.052, allocations: 0 / 1.179 GB, free: 6.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.946e-06/1.052, allocations: 1.188 kB / 1.179 GB, free: 6.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000131/1.052, allocations: 0 / 1.179 GB, free: 6.484 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.007638/1.06, allocations: 2.199 MB / 1.181 GB, free: 4.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/1.06, allocations: 8.312 kB / 1.181 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/1.064, allocations: 0.613 MB / 1.182 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0044/1.069, allocations: 1.451 MB / 1.184 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/1.069, allocations: 140 kB / 1.184 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004142/1.069, allocations: 100.8 kB / 1.184 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004213/1.074, allocations: 1.309 MB / 1.185 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/1.074, allocations: 1.281 kB / 1.185 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/1.074, allocations: 40.98 kB / 1.185 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/1.074, allocations: 27.16 kB / 1.185 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/1.078, allocations: 1.326 MB / 1.186 GB, free: 1.895 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.01015/1.088, allocations: 5.384 MB / 1.192 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/1.091, allocations: 1.051 MB / 1.193 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/1.093, allocations: 0.6006 MB / 1.193 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/1.094, allocations: 1.234 MB / 1.194 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002014/1.096, allocations: 0.6661 MB / 1.195 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=69): time 7.064e-06/1.096, allocations: 0 / 1.195 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69): time 0.005916/1.102, allocations: 1.705 MB / 1.197 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/1.102, allocations: 59.81 kB / 1.197 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/1.105, allocations: 1.329 MB / 1.198 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/1.105, allocations: 44.02 kB / 1.198 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007755/1.106, allocations: 0.6787 MB / 1.199 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/1.107, allocations: 234.6 kB / 1.199 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004415/1.107, allocations: 169.7 kB / 1.199 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.107, allocations: 336.8 kB / 1.2 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/1.109, allocations: 0.531 MB / 1.2 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/1.111, allocations: 0.7496 MB / 1.201 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/1.114, allocations: 1.145 MB / 1.202 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.114, allocations: 1.094 kB / 1.202 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004486/1.119, allocations: 1.414 MB / 1.203 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/1.119, allocations: 32.73 kB / 1.203 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.119, allocations: 2.25 kB / 1.203 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/1.119, allocations: 11.09 kB / 1.203 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.12, allocations: 253 kB / 1.204 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.22e-05/1.121, allocations: 10.86 kB / 1.204 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.122, allocations: 183 kB / 1.204 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.123, allocations: 38.09 kB / 1.204 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002364/1.125, allocations: 0.7963 MB / 1.205 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001899/1.127, allocations: 0.7412 MB / 1.205 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003337/1.13, allocations: 1.14 MB / 1.206 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.232e-06/1.13, allocations: 1.625 kB / 1.206 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004509/1.135, allocations: 1.403 MB / 1.208 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/1.135, allocations: 33.7 kB / 1.208 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.135, allocations: 0 / 1.208 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.135, allocations: 8 kB / 1.208 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.136, allocations: 251.9 kB / 1.208 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/1.136, allocations: 15.94 kB / 1.208 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/1.138, allocations: 167.4 kB / 1.208 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.138, allocations: 35.97 kB / 1.208 GB, free: 2.496 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.0003953/1.139, allocations: 232.1 kB / 1.208 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006182/1.139, allocations: 150.1 kB / 1.209 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/1.144, allocations: 1.478 MB / 1.21 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003282/1.147, allocations: 1.238 MB / 1.211 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.147, allocations: 3.938 kB / 1.211 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.148, allocations: 338.9 kB / 1.212 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005548/1.149, allocations: 16 kB / 1.212 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/1.15, allocations: 111.9 kB / 1.212 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/1.151, allocations: 64.58 kB / 1.212 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004546/1.155, allocations: 1.418 MB / 1.213 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005981/1.161, allocations: 2.202 MB / 1.215 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001695/1.163, allocations: 0.6142 MB / 1.216 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001854/1.165, allocations: 0.9206 MB / 1.217 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of Backend: time 9.42e-07/1.165, allocations: 0 / 1.217 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007723/1.172, allocations: 2.05 MB / 1.219 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of SimCode: time 0.007478/1.18, allocations: 3.24 MB / 1.222 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.06541/1.245, allocations: 37.31 MB / 1.258 GB, free: 15.32 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches