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.001413/0.001413, allocations: 107.8 kB / 16.36 MB, free: 6.336 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.001404/0.001404, allocations: 194.8 kB / 17.29 MB, free: 5.883 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.228/2.228, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 61.89 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.329, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06072/0.3898, allocations: 60.46 MB / 1.01 GB, free: 11.39 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.4091, allocations: 13.17 MB / 1.023 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003698/0.4128, allocations: 75.5 kB / 1.023 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.4161, allocations: 0.9586 MB / 1.024 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007657/0.4238, allocations: 2.327 MB / 1.026 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.4282, allocations: 1.538 MB / 1.028 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006316/0.4346, allocations: 4.281 MB / 1.032 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.4367, allocations: 1.325 MB / 1.033 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004061/0.4407, allocations: 1.591 MB / 1.035 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.4432, allocations: 1.178 MB / 1.036 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003143/0.4436, allocations: 144 kB / 1.036 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/0.4472, allocations: 1.451 MB / 1.038 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004986/0.4478, allocations: 410.5 kB / 1.038 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.449, allocations: 0.9017 MB / 1.039 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004633/0.4537, allocations: 2.746 MB / 1.041 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4537, allocations: 0 / 1.041 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4537, allocations: 0 / 1.041 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.483e-05/0.4538, allocations: 0 / 1.041 GB, free: 11.21 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.00396/0.4578, allocations: 2.17 MB / 1.044 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4578, allocations: 8.031 kB / 1.044 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/0.4612, allocations: 0.6112 MB / 1.044 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.4638, allocations: 1.412 MB / 1.046 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.464, allocations: 145.4 kB / 1.046 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.4641, allocations: 103.8 kB / 1.046 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/0.4669, allocations: 1.311 MB / 1.047 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.4669, allocations: 4 kB / 1.047 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.526e-05/0.467, allocations: 40 kB / 1.047 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.4671, allocations: 27.94 kB / 1.047 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/0.4705, allocations: 1.311 MB / 1.048 GB, free: 3.898 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.007336/0.4779, allocations: 5.343 MB / 1.054 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/0.4831, allocations: 1.412 MB / 1.055 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.4846, allocations: 0.5919 MB / 1.056 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009639/0.4856, allocations: 1.244 MB / 1.057 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001673/0.4873, allocations: 0.651 MB / 1.057 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 2.665e-06/0.4873, allocations: 0 / 1.057 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69): time 0.004793/0.4921, allocations: 1.684 MB / 1.059 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.4922, allocations: 59.97 kB / 1.059 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.4939, allocations: 1.286 MB / 1.06 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.494, allocations: 45.7 kB / 1.06 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/0.4946, allocations: 0.6347 MB / 1.061 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.4948, allocations: 240.6 kB / 1.061 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.4951, allocations: 182.4 kB / 1.062 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4953, allocations: 330 kB / 1.062 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.4967, allocations: 0.5278 MB / 1.062 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.4984, allocations: 0.7425 MB / 1.063 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/0.5013, allocations: 1.128 MB / 1.064 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5014, allocations: 4 kB / 1.064 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003658/0.505, allocations: 1.391 MB / 1.066 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.5051, allocations: 34.02 kB / 1.066 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5051, allocations: 4 kB / 1.066 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.5051, allocations: 11.94 kB / 1.066 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5063, allocations: 251.7 kB / 1.066 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.5064, allocations: 15.92 kB / 1.066 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.508, allocations: 183.1 kB / 1.066 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.5081, allocations: 39.97 kB / 1.066 GB, free: 1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002114/0.5102, allocations: 0.7868 MB / 1.067 GB, free: 212 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00168/0.5119, allocations: 0.7314 MB / 1.068 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002903/0.5148, allocations: 1.12 MB / 1.069 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.5148, allocations: 0 / 1.069 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003746/0.5186, allocations: 1.388 MB / 1.07 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.5186, allocations: 37.7 kB / 1.07 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5186, allocations: 4 kB / 1.07 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.5187, allocations: 8 kB / 1.07 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.5198, allocations: 251.6 kB / 1.07 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.5199, allocations: 7.938 kB / 1.07 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.5213, allocations: 175.4 kB / 1.07 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/0.5214, allocations: 35.98 kB / 1.07 GB, free: 12.31 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.0003032/0.5217, allocations: 228.1 kB / 1.071 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.522, allocations: 142.2 kB / 1.071 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.526, allocations: 1.458 MB / 1.072 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.526, allocations: 8 kB / 1.072 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.526, allocations: 0 / 1.072 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003152/0.5292, allocations: 1.226 MB / 1.073 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00974/0.5389, allocations: 3.182 MB / 1.077 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.539, allocations: 4 kB / 1.077 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.5407, allocations: 216.1 kB / 1.077 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-05/0.5408, allocations: 11.94 kB / 1.077 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.5409, allocations: 35.95 kB / 1.077 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/0.5409, allocations: 11.94 kB / 1.077 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/0.541, allocations: 4 kB / 1.077 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008559/0.5495, allocations: 2.204 MB / 1.079 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.5509, allocations: 342.9 kB / 1.079 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.5512, allocations: 23.94 kB / 1.079 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.5532, allocations: 131.9 kB / 1.079 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.5534, allocations: 68.36 kB / 1.08 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.5536, allocations: 43.97 kB / 1.08 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002021/0.5556, allocations: 0.9165 MB / 1.08 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.21e-07/0.5557, allocations: 0 / 1.08 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003103/0.5588, allocations: 0.7954 MB / 1.081 GB, free: 0.9648 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.00158/0.5604, allocations: 0.5208 MB / 1.082 GB, free: 460 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.5422/1.103, allocations: 1.973 MB / 1.084 GB, free: 131 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.103, allocations: 2.656 kB / 1.084 GB, free: 131 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002037/1.105, allocations: 0.6811 MB / 1.084 GB, free: 131 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/1.108, allocations: 0.7568 MB / 1.085 GB, free: 131 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/1.113, allocations: 2.644 MB / 1.088 GB, free: 129.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/1.114, allocations: 1.238 MB / 1.089 GB, free: 129 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001837/1.116, allocations: 364.5 kB / 1.089 GB, free: 129 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/1.117, allocations: 125.1 kB / 1.089 GB, free: 128.9 MB / 0.8575 GB Notification: Performance of SimCode: time 1.062e-06/1.117, allocations: 0.7188 kB / 1.089 GB, free: 128.9 MB / 0.8575 GB Notification: Performance of Templates: time 0.0592/1.176, allocations: 31.49 MB / 1.12 GB, free: 119 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 -s cvode -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