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.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.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.001181/0.001181, allocations: 104.7 kB / 15.98 MB, free: 6.352 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.001112/0.001112, allocations: 191.9 kB / 16.91 MB, free: 6.188 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.252/2.252, allocations: 390.2 MB / 0.665 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 64.3 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.259, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06109/0.3201, allocations: 59.97 MB / 1.008 GB, free: 13.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.3388, allocations: 13.07 MB / 1.021 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.3414, allocations: 63.62 kB / 1.021 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002922/0.3444, allocations: 0.8356 MB / 1.022 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006332/0.3508, allocations: 2.162 MB / 1.024 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.3548, allocations: 1.409 MB / 1.025 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006025/0.3608, allocations: 4.322 MB / 1.03 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002249/0.3631, allocations: 1.298 MB / 1.031 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/0.3676, allocations: 1.599 MB / 1.033 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.37, allocations: 1.233 MB / 1.034 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005049/0.3706, allocations: 140 kB / 1.034 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.3742, allocations: 1.454 MB / 1.035 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006495/0.3748, allocations: 426.4 kB / 1.036 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.3765, allocations: 0.9095 MB / 1.037 GB, free: 72 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00342/0.3799, allocations: 2.085 MB / 1.039 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3799, allocations: 0 / 1.039 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3799, allocations: 0 / 1.039 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.784e-05/0.38, allocations: 0 / 1.039 GB, free: 13.98 MB / 0.8262 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.004856/0.3849, allocations: 2.166 MB / 1.041 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3849, allocations: 12.03 kB / 1.041 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/0.3888, allocations: 0.5995 MB / 1.041 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.3917, allocations: 1.384 MB / 1.043 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.3919, allocations: 145.4 kB / 1.043 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.3922, allocations: 100 kB / 1.043 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.3955, allocations: 1.303 MB / 1.044 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.3956, allocations: 0 / 1.044 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/0.3958, allocations: 40 kB / 1.044 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/0.3958, allocations: 24 kB / 1.044 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/0.3997, allocations: 1.319 MB / 1.046 GB, free: 6.723 MB / 0.8262 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.008081/0.4078, allocations: 5.339 MB / 1.051 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005677/0.4135, allocations: 1.411 MB / 1.052 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.4151, allocations: 0.5924 MB / 1.053 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009794/0.4161, allocations: 1.239 MB / 1.054 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/0.4181, allocations: 0.655 MB / 1.055 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 3.596e-06/0.4181, allocations: 4 kB / 1.055 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69): time 0.005349/0.4235, allocations: 1.676 MB / 1.056 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4235, allocations: 55.97 kB / 1.056 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.4256, allocations: 1.271 MB / 1.057 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.4258, allocations: 41.7 kB / 1.058 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/0.4264, allocations: 0.658 MB / 1.058 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.4267, allocations: 228.7 kB / 1.058 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003442/0.4271, allocations: 174.4 kB / 1.059 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4273, allocations: 334 kB / 1.059 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.4288, allocations: 0.5239 MB / 1.059 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.4307, allocations: 0.7431 MB / 1.06 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.4338, allocations: 1.132 MB / 1.061 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.4338, allocations: 0 / 1.061 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004053/0.4379, allocations: 1.399 MB / 1.063 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.438, allocations: 44.34 kB / 1.063 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.438, allocations: 4 kB / 1.063 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.438, allocations: 7.938 kB / 1.063 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.4393, allocations: 252 kB / 1.063 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.4394, allocations: 7.938 kB / 1.063 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.4411, allocations: 235 kB / 1.063 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.4413, allocations: 39.98 kB / 1.063 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00201/0.4433, allocations: 0.7829 MB / 1.064 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001731/0.445, allocations: 0.7353 MB / 1.065 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003054/0.4481, allocations: 1.112 MB / 1.066 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.4481, allocations: 4 kB / 1.066 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003949/0.4521, allocations: 1.383 MB / 1.067 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.4521, allocations: 34.02 kB / 1.067 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4521, allocations: 4 kB / 1.067 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4521, allocations: 11.98 kB / 1.067 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.4534, allocations: 251.6 kB / 1.067 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.4534, allocations: 11.94 kB / 1.067 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.4552, allocations: 215.2 kB / 1.068 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.4554, allocations: 31.98 kB / 1.068 GB, free: 15.07 MB / 0.8575 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.0003319/0.4557, allocations: 232.1 kB / 1.068 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.4561, allocations: 150.2 kB / 1.068 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.4602, allocations: 1.454 MB / 1.069 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.4603, allocations: 4 kB / 1.069 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4603, allocations: 8 kB / 1.069 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003179/0.4635, allocations: 1.218 MB / 1.071 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006891/0.4704, allocations: 3.171 MB / 1.074 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.4704, allocations: 4 kB / 1.074 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.4716, allocations: 220.2 kB / 1.074 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/0.4716, allocations: 11.94 kB / 1.074 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.757e-05/0.4717, allocations: 23.98 kB / 1.074 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.459e-05/0.4717, allocations: 15.92 kB / 1.074 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.4717, allocations: 8 kB / 1.074 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005425/0.4772, allocations: 2.208 MB / 1.076 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007688/0.478, allocations: 342.8 kB / 1.076 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003661/0.4783, allocations: 31.88 kB / 1.076 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.48, allocations: 155.8 kB / 1.077 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.4801, allocations: 80.34 kB / 1.077 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.4803, allocations: 39.97 kB / 1.077 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001428/0.4817, allocations: 0.9009 MB / 1.078 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.625e-06/0.4817, allocations: 0 / 1.078 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002297/0.484, allocations: 0.7875 MB / 1.078 GB, free: 3.715 MB / 0.8575 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.001177/0.4852, allocations: 0.4952 MB / 1.079 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005673/0.4909, allocations: 2.042 MB / 1.081 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.4909, allocations: 0 / 1.081 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.4928, allocations: 0.66 MB / 1.081 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3932/0.8861, allocations: 0.7554 MB / 1.082 GB, free: 131.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/0.8938, allocations: 3.237 MB / 1.085 GB, free: 130.2 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.8949, allocations: 1.227 MB / 1.087 GB, free: 129.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008921/0.8958, allocations: 137 kB / 1.087 GB, free: 129.5 MB / 0.8575 GB Notification: Performance of SimCode: time 8.82e-07/0.8958, allocations: 1.094 kB / 1.087 GB, free: 129.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.05302/0.9488, allocations: 26.52 MB / 1.113 GB, free: 122 MB / 0.8575 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