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.006573/0.006572, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001289/0.001289, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.29/2.29, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.08 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06775/1.147, allocations: 60.46 MB / 1.147 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02709/1.174, allocations: 13.17 MB / 1.16 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004474/1.179, allocations: 70.28 kB / 1.16 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004002/1.183, allocations: 0.9855 MB / 1.161 GB, free: 52 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/1.193, allocations: 2.419 MB / 1.163 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006375/1.199, allocations: 1.552 MB / 1.165 GB, free: 13.76 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008733/1.208, allocations: 4.304 MB / 1.169 GB, free: 11.69 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/1.211, allocations: 1.325 MB / 1.17 GB, free: 11.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004746/1.216, allocations: 1.625 MB / 1.172 GB, free: 10.3 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/1.219, allocations: 1.189 MB / 1.173 GB, free: 9.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006715/1.219, allocations: 139.7 kB / 1.173 GB, free: 9.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005094/1.224, allocations: 1.45 MB / 1.175 GB, free: 9.117 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009607/1.225, allocations: 410.7 kB / 1.175 GB, free: 8.805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002972/1.228, allocations: 0.9053 MB / 1.176 GB, free: 8.199 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00778/1.236, allocations: 2.756 MB / 1.179 GB, free: 6.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.236, allocations: 1.094 kB / 1.179 GB, free: 6.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/1.236, allocations: 0 / 1.179 GB, free: 6.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000103/1.236, allocations: 0 / 1.179 GB, free: 6.379 MB / 0.92 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.007575/1.244, allocations: 2.237 MB / 1.181 GB, free: 4.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.244, allocations: 9.312 kB / 1.181 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003969/1.248, allocations: 0.6124 MB / 1.181 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/1.251, allocations: 1.432 MB / 1.183 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/1.251, allocations: 147.7 kB / 1.183 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/1.251, allocations: 100.7 kB / 1.183 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/1.255, allocations: 1.308 MB / 1.184 GB, free: 2.387 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/1.255, allocations: 9.141 kB / 1.184 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.255, allocations: 37.06 kB / 1.184 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/1.255, allocations: 27.38 kB / 1.184 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/1.259, allocations: 1.312 MB / 1.186 GB, free: 1.742 MB / 0.92 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.00893/1.268, allocations: 5.357 MB / 1.191 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005644/1.273, allocations: 1.415 MB / 1.192 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/1.275, allocations: 0.5953 MB / 1.193 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/1.276, allocations: 1.233 MB / 1.194 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/1.278, allocations: 0.657 MB / 1.195 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=69): time 4.197e-06/1.278, allocations: 1.438 kB / 1.195 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69): time 0.005688/1.284, allocations: 1.679 MB / 1.196 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/1.284, allocations: 63.81 kB / 1.196 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/1.286, allocations: 1.279 MB / 1.198 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/1.286, allocations: 44.33 kB / 1.198 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/1.287, allocations: 0.6645 MB / 1.198 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/1.287, allocations: 248.4 kB / 1.198 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/1.287, allocations: 173.1 kB / 1.199 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.287, allocations: 332.6 kB / 1.199 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/1.289, allocations: 0.5337 MB / 1.199 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/1.291, allocations: 0.7376 MB / 1.2 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/1.295, allocations: 1.13 MB / 1.201 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.295, allocations: 1.25 kB / 1.201 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004404/1.299, allocations: 1.409 MB / 1.203 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/1.299, allocations: 36.72 kB / 1.203 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.299, allocations: 3.406 kB / 1.203 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/1.299, allocations: 11.09 kB / 1.203 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.3, allocations: 245 kB / 1.203 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/1.3, allocations: 10.62 kB / 1.203 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/1.302, allocations: 187.8 kB / 1.203 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/1.303, allocations: 40.78 kB / 1.203 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002317/1.305, allocations: 0.7755 MB / 1.204 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001915/1.307, allocations: 0.7382 MB / 1.205 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003386/1.31, allocations: 1.122 MB / 1.206 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.442e-06/1.31, allocations: 1.25 kB / 1.206 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004407/1.315, allocations: 1.396 MB / 1.207 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/1.315, allocations: 33.7 kB / 1.207 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.315, allocations: 0 / 1.207 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.315, allocations: 8 kB / 1.207 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.316, allocations: 251.9 kB / 1.207 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/1.316, allocations: 15.94 kB / 1.207 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.318, allocations: 175.5 kB / 1.208 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.318, allocations: 35.92 kB / 1.208 GB, free: 2.285 MB / 0.9356 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.0003971/1.319, allocations: 236.1 kB / 1.208 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006171/1.319, allocations: 155 kB / 1.208 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/1.323, allocations: 1.45 MB / 1.209 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.324, allocations: 8 kB / 1.209 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.324, allocations: 0 / 1.209 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003382/1.327, allocations: 1.222 MB / 1.211 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008073/1.335, allocations: 3.179 MB / 1.214 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.335, allocations: 4 kB / 1.214 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.336, allocations: 224.2 kB / 1.214 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.8e-05/1.336, allocations: 15.88 kB / 1.214 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.549e-05/1.336, allocations: 19.98 kB / 1.214 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/1.336, allocations: 11.94 kB / 1.214 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/1.336, allocations: 11.98 kB / 1.214 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/1.343, allocations: 2.205 MB / 1.216 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.344, allocations: 355.7 kB / 1.216 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005471/1.345, allocations: 23.94 kB / 1.217 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.346, allocations: 127.9 kB / 1.217 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.347, allocations: 76.34 kB / 1.217 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.347, allocations: 39.97 kB / 1.217 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001733/1.348, allocations: 0.9165 MB / 1.218 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.493e-06/1.349, allocations: 0 / 1.218 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003034/1.352, allocations: 0.803 MB / 1.218 GB, free: 6.91 MB / 0.9512 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.001315/1.353, allocations: 0.5236 MB / 1.219 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005683/1.359, allocations: 1.984 MB / 1.221 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.359, allocations: 4.125 kB / 1.221 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/1.361, allocations: 0.6794 MB / 1.222 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/1.365, allocations: 0.7538 MB / 1.222 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/1.37, allocations: 2.692 MB / 1.225 GB, free: 184 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.372, allocations: 1.23 MB / 1.226 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001814/1.373, allocations: 375.3 kB / 1.226 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/1.374, allocations: 123.4 kB / 1.227 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of SimCode: time 8.32e-07/1.374, allocations: 0 / 1.227 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.05885/1.433, allocations: 31.68 MB / 1.258 GB, free: 15.16 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches