Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001282/0.001283, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001646/0.001646, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 15.94 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8848/0.8851, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.05976/0.9449, allocations: 55.91 MB / 1.077 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0188/0.9638, allocations: 12.41 MB / 1.089 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.9665, allocations: 63.56 kB / 1.089 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002608/0.9692, allocations: 0.7143 MB / 1.09 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006832/0.976, allocations: 1.827 MB / 1.092 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.9804, allocations: 1.192 MB / 1.093 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007942/0.9883, allocations: 4.78 MB / 1.097 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.9908, allocations: 0.985 MB / 1.098 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.9946, allocations: 1.287 MB / 1.1 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003194/0.9978, allocations: 1.104 MB / 1.101 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005137/0.9984, allocations: 60 kB / 1.101 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003738/1.002, allocations: 1.041 MB / 1.102 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006675/1.003, allocations: 326.6 kB / 1.102 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000972/1.004, allocations: 368.8 kB / 1.103 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003692/1.008, allocations: 1.997 MB / 1.104 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.008, allocations: 0 / 1.104 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/1.008, allocations: 0 / 1.104 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.233e-05/1.008, allocations: 0 / 1.104 GB, free: 11.77 MB / 0.8575 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.00465/1.012, allocations: 1.929 MB / 1.106 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.012, allocations: 8.031 kB / 1.106 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/1.016, allocations: 0.5871 MB / 1.107 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/1.019, allocations: 1.361 MB / 1.108 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/1.019, allocations: 149.4 kB / 1.108 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/1.019, allocations: 103.9 kB / 1.109 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/1.023, allocations: 1.358 MB / 1.11 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/1.023, allocations: 3.938 kB / 1.11 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/1.023, allocations: 40 kB / 1.11 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/1.023, allocations: 27.94 kB / 1.11 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/1.026, allocations: 1.401 MB / 1.111 GB, free: 4.637 MB / 0.8575 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.008602/1.035, allocations: 5.509 MB / 1.117 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/1.038, allocations: 1.101 MB / 1.118 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/1.039, allocations: 0.6271 MB / 1.118 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000969/1.04, allocations: 1.232 MB / 1.12 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001718/1.042, allocations: 0.7017 MB / 1.12 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.817e-06/1.042, allocations: 4 kB / 1.12 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.005063/1.047, allocations: 1.797 MB / 1.122 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/1.047, allocations: 59.97 kB / 1.122 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/1.049, allocations: 1.313 MB / 1.123 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.049, allocations: 45.7 kB / 1.123 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007112/1.05, allocations: 0.6817 MB / 1.124 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/1.05, allocations: 244.5 kB / 1.124 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/1.051, allocations: 16 kB / 1.124 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.051, allocations: 337.9 kB / 1.125 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/1.052, allocations: 0.5524 MB / 1.125 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/1.054, allocations: 0.7879 MB / 1.126 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/1.056, allocations: 0.6019 MB / 1.127 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.056, allocations: 0 / 1.127 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003909/1.06, allocations: 1.485 MB / 1.128 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/1.06, allocations: 222.3 kB / 1.128 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.06, allocations: 0 / 1.128 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.06, allocations: 8 kB / 1.128 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.061, allocations: 271.7 kB / 1.128 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.109e-05/1.061, allocations: 11.94 kB / 1.128 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/1.063, allocations: 243 kB / 1.129 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/1.063, allocations: 43.94 kB / 1.129 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.063, allocations: 4 kB / 1.129 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003407/1.067, allocations: 1.325 MB / 1.13 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.067, allocations: 4 kB / 1.13 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/1.067, allocations: 8 kB / 1.13 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.068, allocations: 272 kB / 1.13 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.068, allocations: 11.94 kB / 1.13 GB, free: 256 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.07, allocations: 231.1 kB / 1.131 GB, free: 24 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/1.07, allocations: 43.91 kB / 1.131 GB, free: 15.98 MB / 0.8887 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,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000765/1.071, allocations: 416.9 kB / 1.131 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/1.071, allocations: 154.1 kB / 1.131 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/1.075, allocations: 1.548 MB / 1.133 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/1.075, allocations: 8 kB / 1.133 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.075, allocations: 0 / 1.133 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002983/1.078, allocations: 1.304 MB / 1.134 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007036/1.085, allocations: 3.309 MB / 1.137 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.085, allocations: 4 kB / 1.137 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/1.086, allocations: 235.9 kB / 1.137 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/1.086, allocations: 8 kB / 1.137 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/1.086, allocations: 31.97 kB / 1.137 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/1.086, allocations: 11.94 kB / 1.137 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.086, allocations: 4 kB / 1.137 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/1.092, allocations: 2.345 MB / 1.14 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.093, allocations: 374.7 kB / 1.14 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004135/1.093, allocations: 20 kB / 1.14 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.095, allocations: 179.8 kB / 1.14 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/1.095, allocations: 72.36 kB / 1.14 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/1.095, allocations: 43.97 kB / 1.14 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002024/1.097, allocations: 0.9337 MB / 1.141 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.6e-07/1.097, allocations: 0 / 1.141 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003077/1.1, allocations: 0.7993 MB / 1.142 GB, free: 3.898 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001348/1.102, allocations: 0.4975 MB / 1.143 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006041/1.108, allocations: 2.105 MB / 1.145 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.108, allocations: 0 / 1.145 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001942/1.11, allocations: 0.7225 MB / 1.145 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/1.114, allocations: 0.7542 MB / 1.146 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008424/1.123, allocations: 3.436 MB / 1.149 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.124, allocations: 1.246 MB / 1.151 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002172/1.126, allocations: 375.5 kB / 1.151 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/1.127, allocations: 127.4 kB / 1.151 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of SimCode: time 1.082e-06/1.127, allocations: 0 / 1.151 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.05297/1.18, allocations: 29.38 MB / 1.18 GB, free: 13.53 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches