Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_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.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_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.001545/0.001545, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001498/0.001498, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.688/2.688, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 64.56 kB / 0.9245 GB, free: 24 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.8183, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06746/0.8858, allocations: 60.7 MB / 1.142 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.9084, allocations: 13.23 MB / 1.155 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004107/0.9126, allocations: 67.72 kB / 1.155 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.916, allocations: 0.9608 MB / 1.156 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007591/0.9236, allocations: 2.305 MB / 1.158 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004782/0.9284, allocations: 1.573 MB / 1.16 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006924/0.9353, allocations: 4.312 MB / 1.164 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.9379, allocations: 1.353 MB / 1.165 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005137/0.943, allocations: 1.755 MB / 1.167 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.9458, allocations: 1.186 MB / 1.168 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005055/0.9463, allocations: 142.7 kB / 1.168 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.9506, allocations: 1.469 MB / 1.17 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006104/0.9513, allocations: 423.6 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.9529, allocations: 0.911 MB / 1.171 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00539/0.9583, allocations: 2.763 MB / 1.174 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9584, allocations: 0 / 1.174 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9584, allocations: 0 / 1.174 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.875e-05/0.9584, allocations: 1.312 kB / 1.174 GB, free: 14.95 MB / 0.9044 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.004919/0.9634, allocations: 2.182 MB / 1.176 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.9634, allocations: 9.25 kB / 1.176 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004513/0.9679, allocations: 0.6209 MB / 1.177 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/0.971, allocations: 1.374 MB / 1.178 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.9712, allocations: 149.5 kB / 1.178 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.9714, allocations: 105.3 kB / 1.178 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003551/0.975, allocations: 1.372 MB / 1.18 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.975, allocations: 1.031 kB / 1.18 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.9752, allocations: 42.06 kB / 1.18 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.9752, allocations: 27.88 kB / 1.18 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004156/0.9794, allocations: 1.425 MB / 1.181 GB, free: 10.15 MB / 0.9044 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.009138/0.9885, allocations: 5.598 MB / 1.186 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005745/0.9943, allocations: 1.389 MB / 1.188 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.9962, allocations: 0.6271 MB / 1.188 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.9973, allocations: 1.24 MB / 1.19 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001991/0.9993, allocations: 0.6784 MB / 1.19 GB, free: 15.94 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 3.096e-06/0.9993, allocations: 0 / 1.19 GB, free: 15.94 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.005749/1.005, allocations: 1.766 MB / 1.192 GB, free: 14.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/1.005, allocations: 59.97 kB / 1.192 GB, free: 14.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/1.007, allocations: 1.287 MB / 1.193 GB, free: 12.79 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/1.007, allocations: 45.7 kB / 1.193 GB, free: 12.74 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006416/1.008, allocations: 0.6579 MB / 1.194 GB, free: 12.08 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/1.008, allocations: 240.5 kB / 1.194 GB, free: 11.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/1.009, allocations: 178.4 kB / 1.194 GB, free: 11.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002262/1.009, allocations: 341.9 kB / 1.195 GB, free: 11.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/1.011, allocations: 0.5473 MB / 1.195 GB, free: 10.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/1.013, allocations: 0.7833 MB / 1.196 GB, free: 9.906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003423/1.016, allocations: 1.195 MB / 1.197 GB, free: 8.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.016, allocations: 4 kB / 1.197 GB, free: 8.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004308/1.02, allocations: 1.442 MB / 1.199 GB, free: 7.199 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/1.02, allocations: 37.7 kB / 1.199 GB, free: 7.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.02, allocations: 4 kB / 1.199 GB, free: 7.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/1.02, allocations: 15.88 kB / 1.199 GB, free: 7.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/1.022, allocations: 259.6 kB / 1.199 GB, free: 6.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/1.022, allocations: 15.94 kB / 1.199 GB, free: 6.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.024, allocations: 199 kB / 1.199 GB, free: 6.672 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/1.024, allocations: 47.97 kB / 1.199 GB, free: 6.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002222/1.026, allocations: 0.808 MB / 1.2 GB, free: 5.812 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001949/1.028, allocations: 0.7654 MB / 1.201 GB, free: 4.969 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003328/1.031, allocations: 1.179 MB / 1.202 GB, free: 3.742 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/1.031, allocations: 0 / 1.202 GB, free: 3.742 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004218/1.036, allocations: 1.442 MB / 1.203 GB, free: 2.289 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/1.036, allocations: 37.69 kB / 1.203 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.036, allocations: 4 kB / 1.203 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/1.036, allocations: 4 kB / 1.203 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.037, allocations: 271.9 kB / 1.204 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.037, allocations: 7.938 kB / 1.204 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/1.039, allocations: 187.3 kB / 1.204 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.039, allocations: 39.98 kB / 1.204 GB, free: 1.742 MB / 0.92 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,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 (97): * Single equations (assignments): 96 * 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.0003519/1.039, allocations: 235.2 kB / 1.204 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/1.04, allocations: 142.2 kB / 1.204 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/1.044, allocations: 1.512 MB / 1.206 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/1.044, allocations: 11.94 kB / 1.206 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.044, allocations: 0 / 1.206 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003496/1.048, allocations: 1.269 MB / 1.207 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007708/1.055, allocations: 3.265 MB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.055, allocations: 4 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.057, allocations: 231.9 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/1.057, allocations: 11.98 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-05/1.057, allocations: 31.92 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.057, allocations: 8 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.057, allocations: 11.94 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005913/1.063, allocations: 2.29 MB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008807/1.064, allocations: 350.9 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/1.064, allocations: 28 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.065, allocations: 127.8 kB / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/1.065, allocations: 84.34 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/1.066, allocations: 35.97 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001388/1.067, allocations: 0.9207 MB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.067, allocations: 0 / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002256/1.069, allocations: 0.7993 MB / 1.215 GB, free: 6.086 MB / 0.9356 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 (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.001205/1.07, allocations: 0.5109 MB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006114/1.077, allocations: 2.14 MB / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/1.077, allocations: 4 kB / 1.217 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002022/1.079, allocations: 0.6874 MB / 1.218 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/1.083, allocations: 0.7609 MB / 1.219 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006919/1.09, allocations: 2.955 MB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009294/1.091, allocations: 1.233 MB / 1.223 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006586/1.091, allocations: 135.4 kB / 1.223 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of SimCode: time 2.545e-06/1.091, allocations: 0 / 1.223 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of Templates: time 0.04385/1.135, allocations: 27.06 MB / 1.25 GB, free: 2.668 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches