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.001175/0.001175, allocations: 107.5 kB / 16.27 MB, free: 6.355 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.001193/0.001193, allocations: 192.3 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.237/2.237, allocations: 390.2 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 69.23 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.256, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06248/0.3185, allocations: 60.48 MB / 1.009 GB, free: 12.2 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01876/0.3373, allocations: 13.16 MB / 1.022 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.3406, allocations: 71.56 kB / 1.022 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.3435, allocations: 0.9628 MB / 1.023 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006373/0.35, allocations: 2.312 MB / 1.025 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.354, allocations: 1.533 MB / 1.027 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005488/0.3595, allocations: 4.279 MB / 1.031 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.3616, allocations: 1.329 MB / 1.032 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.365, allocations: 1.57 MB / 1.034 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.367, allocations: 1.182 MB / 1.035 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004191/0.3674, allocations: 140 kB / 1.035 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/0.3709, allocations: 1.454 MB / 1.037 GB, free: 124 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005701/0.3714, allocations: 414.4 kB / 1.037 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.3729, allocations: 0.9017 MB / 1.038 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004252/0.3771, allocations: 2.715 MB / 1.041 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3772, allocations: 0 / 1.041 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3772, allocations: 4 kB / 1.041 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.56e-05/0.3772, allocations: 0 / 1.041 GB, free: 12.08 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.004303/0.3815, allocations: 2.162 MB / 1.043 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3816, allocations: 12.03 kB / 1.043 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.3853, allocations: 0.6112 MB / 1.043 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.3877, allocations: 1.338 MB / 1.045 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.3879, allocations: 153.4 kB / 1.045 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.3881, allocations: 99.84 kB / 1.045 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.3912, allocations: 1.311 MB / 1.046 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.3912, allocations: 0 / 1.046 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.3913, allocations: 36 kB / 1.046 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.3914, allocations: 24 kB / 1.046 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003668/0.395, allocations: 1.315 MB / 1.047 GB, free: 4.855 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.007711/0.4028, allocations: 5.382 MB / 1.053 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005513/0.4083, allocations: 1.407 MB / 1.054 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.41, allocations: 0.5958 MB / 1.055 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009138/0.4109, allocations: 1.236 MB / 1.056 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/0.4127, allocations: 0.6588 MB / 1.057 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 3.035e-06/0.4128, allocations: 4 kB / 1.057 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69): time 0.005048/0.4178, allocations: 1.68 MB / 1.058 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.4179, allocations: 55.97 kB / 1.058 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.4197, allocations: 1.283 MB / 1.059 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.4198, allocations: 45.7 kB / 1.06 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.4204, allocations: 0.6463 MB / 1.06 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.4206, allocations: 232.6 kB / 1.06 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.4209, allocations: 178.4 kB / 1.061 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.421, allocations: 337.9 kB / 1.061 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.4226, allocations: 0.52 MB / 1.061 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.4243, allocations: 0.7392 MB / 1.062 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00297/0.4273, allocations: 1.135 MB / 1.063 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4273, allocations: 4 kB / 1.063 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003728/0.431, allocations: 1.391 MB / 1.065 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.4311, allocations: 33.7 kB / 1.065 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4311, allocations: 0 / 1.065 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.4311, allocations: 15.88 kB / 1.065 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.4323, allocations: 260 kB / 1.065 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.4324, allocations: 7.938 kB / 1.065 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.4339, allocations: 187.1 kB / 1.065 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.434, allocations: 39.97 kB / 1.065 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001966/0.436, allocations: 0.779 MB / 1.066 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001679/0.4377, allocations: 0.7314 MB / 1.067 GB, free: 324 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002997/0.4407, allocations: 1.124 MB / 1.068 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.4407, allocations: 0 / 1.068 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003845/0.4445, allocations: 1.391 MB / 1.069 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.4446, allocations: 29.7 kB / 1.069 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4446, allocations: 4 kB / 1.069 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4446, allocations: 12.31 kB / 1.069 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.4459, allocations: 259.5 kB / 1.069 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.4459, allocations: 11.94 kB / 1.069 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.4473, allocations: 167.4 kB / 1.069 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/0.4474, allocations: 35.98 kB / 1.07 GB, free: 13.23 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.0002784/0.4477, allocations: 232.1 kB / 1.07 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.4481, allocations: 146.1 kB / 1.07 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.4519, allocations: 1.45 MB / 1.071 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.4519, allocations: 4 kB / 1.071 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4519, allocations: 8 kB / 1.071 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003115/0.4551, allocations: 1.218 MB / 1.072 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00631/0.4614, allocations: 3.186 MB / 1.076 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4614, allocations: 4 kB / 1.076 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.4625, allocations: 220.1 kB / 1.076 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/0.4626, allocations: 7.938 kB / 1.076 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.298e-05/0.4627, allocations: 31.97 kB / 1.076 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.4627, allocations: 15.88 kB / 1.076 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4627, allocations: 7.938 kB / 1.076 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/0.4681, allocations: 2.2 MB / 1.078 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/0.4688, allocations: 346.9 kB / 1.078 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/0.4691, allocations: 23.94 kB / 1.078 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.4705, allocations: 127.9 kB / 1.079 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.4707, allocations: 72.36 kB / 1.079 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.4708, allocations: 39.97 kB / 1.079 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001379/0.4722, allocations: 0.9204 MB / 1.08 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4722, allocations: 0 / 1.08 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002165/0.4744, allocations: 0.7876 MB / 1.08 GB, free: 1.883 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.001039/0.4754, allocations: 0.5205 MB / 1.081 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.4195/0.895, allocations: 2.033 MB / 1.083 GB, free: 131.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/0.895, allocations: 2.031 kB / 1.083 GB, free: 131.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002235/0.8973, allocations: 0.66 MB / 1.083 GB, free: 131.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/0.9015, allocations: 0.7599 MB / 1.084 GB, free: 131.6 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/0.9074, allocations: 2.725 MB / 1.087 GB, free: 130.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.9084, allocations: 1.228 MB / 1.088 GB, free: 129.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000784/0.9092, allocations: 135.4 kB / 1.088 GB, free: 129.7 MB / 0.8575 GB Notification: Performance of SimCode: time 1.453e-06/0.9093, allocations: 1 kB / 1.088 GB, free: 129.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.06019/0.9695, allocations: 26.74 MB / 1.114 GB, free: 121.6 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