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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001085/0.001085, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001296/0.001296, allocations: 172.7 kB / 15.95 MB, free: 208 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.519/1.519, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.9 MB / 0.666 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8189, allocations: 142.4 MB / 0.9544 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.05651/0.8755, allocations: 55.77 MB / 1.009 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01844/0.894, allocations: 12.37 MB / 1.021 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.8962, allocations: 55.62 kB / 1.021 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.8983, allocations: 0.7065 MB / 1.022 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005317/0.9036, allocations: 1.832 MB / 1.024 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.907, allocations: 1.157 MB / 1.025 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005838/0.9129, allocations: 4.757 MB / 1.029 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.9145, allocations: 0.9773 MB / 1.03 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.917, allocations: 1.291 MB / 1.032 GB, free: 388 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.9184, allocations: 1.085 MB / 1.033 GB, free: 15.29 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.9186, allocations: 60 kB / 1.033 GB, free: 15.23 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.9211, allocations: 1.021 MB / 1.034 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.9215, allocations: 326.5 kB / 1.034 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.922, allocations: 364.8 kB / 1.034 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.9242, allocations: 1.978 MB / 1.036 GB, free: 11.54 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9242, allocations: 4 kB / 1.036 GB, free: 11.54 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9242, allocations: 0 / 1.036 GB, free: 11.54 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.679e-05/0.9242, allocations: 0 / 1.036 GB, free: 11.54 MB / 0.795 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.003148/0.9274, allocations: 1.921 MB / 1.038 GB, free: 9.551 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.9274, allocations: 8.031 kB / 1.038 GB, free: 9.543 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003113/0.9306, allocations: 0.6378 MB / 1.039 GB, free: 8.902 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.933, allocations: 1.343 MB / 1.04 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.9332, allocations: 153.4 kB / 1.04 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.9334, allocations: 96 kB / 1.04 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/0.9361, allocations: 1.342 MB / 1.042 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.9362, allocations: 4 kB / 1.042 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.9363, allocations: 40 kB / 1.042 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/0.9363, allocations: 24 kB / 1.042 GB, free: 5.809 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/0.9396, allocations: 1.382 MB / 1.043 GB, free: 4.426 MB / 0.795 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.007325/0.947, allocations: 5.391 MB / 1.048 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.9493, allocations: 1.087 MB / 1.049 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.9508, allocations: 0.6354 MB / 1.05 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.9519, allocations: 1.236 MB / 1.051 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.9536, allocations: 0.69 MB / 1.052 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 3.216e-06/0.9536, allocations: 0 / 1.052 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.00482/0.9585, allocations: 1.801 MB / 1.054 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.9585, allocations: 63.97 kB / 1.054 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.9603, allocations: 1.304 MB / 1.055 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.9604, allocations: 45.7 kB / 1.055 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.961, allocations: 0.6738 MB / 1.056 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.9613, allocations: 228.7 kB / 1.056 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.9613, allocations: 19.94 kB / 1.056 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9615, allocations: 338 kB / 1.056 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.9629, allocations: 0.5524 MB / 1.057 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.9645, allocations: 0.7743 MB / 1.057 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.966, allocations: 0.598 MB / 1.058 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.966, allocations: 0 / 1.058 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003454/0.9694, allocations: 1.465 MB / 1.059 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.9696, allocations: 221.1 kB / 1.06 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9696, allocations: 0 / 1.06 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.9696, allocations: 8 kB / 1.06 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.9708, allocations: 279.6 kB / 1.06 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/0.9709, allocations: 11.94 kB / 1.06 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.9724, allocations: 238.9 kB / 1.06 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.9726, allocations: 43.98 kB / 1.06 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.9726, allocations: 4 kB / 1.06 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003154/0.9757, allocations: 1.309 MB / 1.062 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.9758, allocations: 4 kB / 1.062 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.9758, allocations: 8 kB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.9769, allocations: 268 kB / 1.062 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.977, allocations: 11.92 kB / 1.062 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.9786, allocations: 239.2 kB / 1.062 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.9787, allocations: 40.02 kB / 1.062 GB, free: 15.97 MB / 0.8262 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 ($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 (95): * Single equations (assignments): 94 * 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.0008021/0.9795, allocations: 416.7 kB / 1.062 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.9798, allocations: 150.1 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.9838, allocations: 1.532 MB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.9839, allocations: 8 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.9839, allocations: 0 / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003116/0.987, allocations: 1.3 MB / 1.065 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007069/0.9941, allocations: 3.277 MB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.9941, allocations: 7.938 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.9952, allocations: 240.2 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/0.9952, allocations: 8 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/0.9953, allocations: 23.98 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.9953, allocations: 15.89 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.956e-06/0.9954, allocations: 11.98 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/1, allocations: 2.325 MB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007728/1.001, allocations: 374.7 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/1.001, allocations: 16 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.003, allocations: 187.7 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/1.003, allocations: 76.36 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.003, allocations: 39.97 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001576/1.005, allocations: 0.9256 MB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.81e-07/1.005, allocations: 0 / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002691/1.008, allocations: 0.7837 MB / 1.073 GB, free: 3.977 MB / 0.8262 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 (73): * Single equations (assignments): 65 * 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.001295/1.009, allocations: 0.5006 MB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005162/1.014, allocations: 2.093 MB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.014, allocations: 0 / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/1.016, allocations: 0.7186 MB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004116/1.02, allocations: 0.7475 MB / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006991/1.027, allocations: 3.233 MB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/1.028, allocations: 1.246 MB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002184/1.03, allocations: 371.4 kB / 1.082 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/1.031, allocations: 131.3 kB / 1.082 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of SimCode: time 2.444e-06/1.031, allocations: 0 / 1.082 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of Templates: time 0.05447/1.085, allocations: 29.27 MB / 1.111 GB, free: 13.94 MB / 0.8731 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches