Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ElectricEIR,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.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.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_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.008216/0.008216, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.002068/0.002068, allocations: 190.2 kB / 16.79 MB, free: 5.809 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.423/1.423, allocations: 222.9 MB / 240.5 MB, free: 4.59 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.504/2.504, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.84 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6043/0.6059, allocations: 140.4 MB / 0.9496 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0594/0.6653, allocations: 60.1 MB / 1.008 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.6842, allocations: 13.23 MB / 1.021 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/0.6869, allocations: 67.56 kB / 1.021 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.6897, allocations: 0.7983 MB / 1.022 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006044/0.6958, allocations: 2.153 MB / 1.024 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.6995, allocations: 1.379 MB / 1.025 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006095/0.7056, allocations: 5.535 MB / 1.031 GB, free: 14.74 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.7075, allocations: 1.118 MB / 1.032 GB, free: 13.59 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.7103, allocations: 1.357 MB / 1.033 GB, free: 12.23 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.7122, allocations: 1.194 MB / 1.034 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003423/0.7125, allocations: 76 kB / 1.035 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.7156, allocations: 1.356 MB / 1.036 GB, free: 9.598 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005136/0.7161, allocations: 350.4 kB / 1.036 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.7174, allocations: 0.8315 MB / 1.037 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.72, allocations: 2.058 MB / 1.039 GB, free: 6.355 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.72, allocations: 0 / 1.039 GB, free: 6.355 MB / 0.795 GB Notification: Performance of FrontEnd: time 8.81e-07/0.72, allocations: 0 / 1.039 GB, free: 6.355 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.223e-05/0.72, allocations: 0 / 1.039 GB, free: 6.355 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.004286/0.7243, allocations: 2.166 MB / 1.041 GB, free: 4.125 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.7244, allocations: 12.03 kB / 1.041 GB, free: 4.113 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.728, allocations: 0.6151 MB / 1.042 GB, free: 3.496 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.7303, allocations: 1.388 MB / 1.043 GB, free: 2.055 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.7305, allocations: 145.4 kB / 1.043 GB, free: 1.898 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.7307, allocations: 100 kB / 1.043 GB, free: 1.801 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/0.7337, allocations: 1.303 MB / 1.045 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.7337, allocations: 0 / 1.045 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.7338, allocations: 44 kB / 1.045 GB, free: 432 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.7338, allocations: 28 kB / 1.045 GB, free: 404 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/0.7374, allocations: 1.311 MB / 1.046 GB, free: 15.07 MB / 0.8106 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.006986/0.7444, allocations: 5.331 MB / 1.051 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005544/0.75, allocations: 1.411 MB / 1.053 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.7516, allocations: 0.5963 MB / 1.053 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008786/0.7525, allocations: 1.239 MB / 1.054 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/0.7543, allocations: 0.6627 MB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 2.685e-06/0.7544, allocations: 0 / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.005017/0.7594, allocations: 1.672 MB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.7594, allocations: 63.95 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.7612, allocations: 1.267 MB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.7613, allocations: 45.7 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/0.7619, allocations: 0.6463 MB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/0.7622, allocations: 236.6 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.7625, allocations: 170.4 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7627, allocations: 341.9 kB / 1.059 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.7643, allocations: 0.5278 MB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.7661, allocations: 0.737 MB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003025/0.7691, allocations: 1.132 MB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7691, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003796/0.7729, allocations: 1.387 MB / 1.063 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.773, allocations: 37.7 kB / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.773, allocations: 8.25 kB / 1.063 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.773, allocations: 15.94 kB / 1.063 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.7743, allocations: 247.7 kB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.7743, allocations: 8 kB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.7759, allocations: 222.9 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.776, allocations: 43.97 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00192/0.7779, allocations: 0.779 MB / 1.064 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001647/0.7796, allocations: 0.7392 MB / 1.065 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002905/0.7825, allocations: 1.12 MB / 1.066 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.16e-06/0.7825, allocations: 4 kB / 1.066 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003602/0.7861, allocations: 1.38 MB / 1.067 GB, free: 8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.7862, allocations: 33.7 kB / 1.068 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.7862, allocations: 4 kB / 1.068 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.7862, allocations: 7.938 kB / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.7874, allocations: 255.7 kB / 1.068 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.7874, allocations: 8 kB / 1.068 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.789, allocations: 219.2 kB / 1.068 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/0.7891, allocations: 39.97 kB / 1.068 GB, free: 7.438 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 (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.0002651/0.7893, allocations: 228.1 kB / 1.068 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.7897, allocations: 146.2 kB / 1.068 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/0.7935, allocations: 1.454 MB / 1.07 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.7935, allocations: 11.98 kB / 1.07 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.7935, allocations: 0 / 1.07 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003132/0.7966, allocations: 1.214 MB / 1.071 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/0.8032, allocations: 3.174 MB / 1.074 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.8032, allocations: 4.562 kB / 1.074 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.8044, allocations: 219.7 kB / 1.074 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/0.8044, allocations: 7.938 kB / 1.074 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/0.8045, allocations: 27.97 kB / 1.074 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/0.8045, allocations: 8 kB / 1.074 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.8045, allocations: 11.92 kB / 1.074 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005284/0.8098, allocations: 2.204 MB / 1.077 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007002/0.8105, allocations: 347 kB / 1.077 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/0.8108, allocations: 23.94 kB / 1.077 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.8124, allocations: 159.7 kB / 1.077 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.8125, allocations: 76.36 kB / 1.077 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.8126, allocations: 39.97 kB / 1.077 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001394/0.814, allocations: 0.9048 MB / 1.078 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.814, allocations: 0 / 1.078 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002238/0.8163, allocations: 0.7836 MB / 1.079 GB, free: 12.11 MB / 0.8419 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 (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.001186/0.8175, allocations: 0.5225 MB / 1.079 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005431/0.8229, allocations: 1.972 MB / 1.081 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.823, allocations: 4.062 kB / 1.081 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.8248, allocations: 0.6638 MB / 1.082 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/0.8289, allocations: 0.7369 MB / 1.083 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/0.8347, allocations: 3.234 MB / 1.086 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.8357, allocations: 1.226 MB / 1.087 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/0.8363, allocations: 127.4 kB / 1.087 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of SimCode: time 9.82e-07/0.8364, allocations: 4 kB / 1.087 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of Templates: time 0.03966/0.876, allocations: 26.62 MB / 1.113 GB, free: 9.074 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches