Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_10_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_10_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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001446/0.001446, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.493/1.493, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.913/2.913, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.7286, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06995/0.7986, allocations: 60.11 MB / 1.075 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02277/0.8214, allocations: 13.12 MB / 1.088 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003336/0.8248, allocations: 67.56 kB / 1.088 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.8283, allocations: 0.8412 MB / 1.089 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007273/0.8357, allocations: 2.169 MB / 1.091 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005081/0.8408, allocations: 1.437 MB / 1.093 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007714/0.8485, allocations: 4.347 MB / 1.097 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.8515, allocations: 1.345 MB / 1.098 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005437/0.857, allocations: 1.581 MB / 1.1 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/0.8601, allocations: 1.248 MB / 1.101 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008275/0.861, allocations: 144 kB / 1.101 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004658/0.8656, allocations: 1.485 MB / 1.103 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009273/0.8666, allocations: 422.4 kB / 1.103 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.8688, allocations: 0.9174 MB / 1.104 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006296/0.8751, allocations: 2.777 MB / 1.107 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8751, allocations: 0 / 1.107 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8751, allocations: 4 kB / 1.107 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.948e-05/0.8752, allocations: 4 kB / 1.107 GB, free: 6.426 MB / 0.8575 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.004774/0.88, allocations: 2.182 MB / 1.109 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.88, allocations: 8.031 kB / 1.109 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/0.8845, allocations: 0.6112 MB / 1.109 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.8876, allocations: 1.41 MB / 1.111 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.8878, allocations: 145.4 kB / 1.111 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.8881, allocations: 103.9 kB / 1.111 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003745/0.8919, allocations: 1.377 MB / 1.112 GB, free: 436 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.8919, allocations: 0 / 1.112 GB, free: 436 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.8921, allocations: 43.98 kB / 1.112 GB, free: 392 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.8921, allocations: 24 kB / 1.112 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004288/0.8964, allocations: 1.425 MB / 1.114 GB, free: 14.94 MB / 0.8731 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.009615/0.906, allocations: 5.56 MB / 1.119 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005789/0.9119, allocations: 1.386 MB / 1.121 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/0.9138, allocations: 0.627 MB / 1.121 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/0.9151, allocations: 1.24 MB / 1.122 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002132/0.9172, allocations: 0.6862 MB / 1.123 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.877e-06/0.9173, allocations: 3.938 kB / 1.123 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.006009/0.9233, allocations: 1.758 MB / 1.125 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.9234, allocations: 55.97 kB / 1.125 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.9257, allocations: 1.283 MB / 1.126 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001841/0.9259, allocations: 41.7 kB / 1.126 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000752/0.9267, allocations: 0.6619 MB / 1.127 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.9271, allocations: 240.5 kB / 1.127 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004081/0.9275, allocations: 178.4 kB / 1.127 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.9277, allocations: 341.9 kB / 1.128 GB, free: 160 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.9295, allocations: 0.5512 MB / 1.128 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.9316, allocations: 0.7762 MB / 1.129 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.9352, allocations: 1.183 MB / 1.13 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.9352, allocations: 0 / 1.13 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004627/0.9399, allocations: 1.454 MB / 1.131 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.9399, allocations: 33.69 kB / 1.131 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.94, allocations: 4 kB / 1.131 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.94, allocations: 11.94 kB / 1.131 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.9414, allocations: 271.9 kB / 1.132 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/0.9414, allocations: 8 kB / 1.132 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.9434, allocations: 235 kB / 1.132 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.9436, allocations: 35.97 kB / 1.132 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002357/0.946, allocations: 0.8063 MB / 1.133 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002011/0.948, allocations: 0.7751 MB / 1.133 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003406/0.9514, allocations: 1.171 MB / 1.135 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.323e-06/0.9514, allocations: 4 kB / 1.135 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.00428/0.9557, allocations: 1.45 MB / 1.136 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.9558, allocations: 33.7 kB / 1.136 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9558, allocations: 4 kB / 1.136 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.9558, allocations: 4 kB / 1.136 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.9571, allocations: 271.7 kB / 1.136 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.9572, allocations: 11.94 kB / 1.136 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.9591, allocations: 219.2 kB / 1.137 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.9592, allocations: 39.97 kB / 1.137 GB, free: 6.516 MB / 0.8887 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.0003927/0.9596, allocations: 228.1 kB / 1.137 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005199/0.9602, allocations: 146.2 kB / 1.137 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/0.9647, allocations: 1.508 MB / 1.138 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.9647, allocations: 11.94 kB / 1.138 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.9647, allocations: 3.984 kB / 1.138 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003593/0.9683, allocations: 1.273 MB / 1.14 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008151/0.9765, allocations: 3.261 MB / 1.143 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.9766, allocations: 4 kB / 1.143 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.9778, allocations: 235.7 kB / 1.143 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.9779, allocations: 8 kB / 1.143 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.978, allocations: 31.92 kB / 1.143 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.64e-05/0.978, allocations: 15.98 kB / 1.143 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.978, allocations: 7.938 kB / 1.143 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006269/0.9843, allocations: 2.29 MB / 1.145 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.9854, allocations: 346.9 kB / 1.146 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004227/0.9858, allocations: 23.92 kB / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.9876, allocations: 171.8 kB / 1.146 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.9878, allocations: 72.36 kB / 1.146 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.988, allocations: 43.97 kB / 1.146 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001665/0.9896, allocations: 0.9051 MB / 1.147 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9896, allocations: 0 / 1.147 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002865/0.9925, allocations: 0.7993 MB / 1.148 GB, free: 10.84 MB / 0.9044 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.001509/0.994, allocations: 0.5118 MB / 1.148 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006601/1.001, allocations: 2.124 MB / 1.15 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.001, allocations: 4 kB / 1.15 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/1.003, allocations: 0.7069 MB / 1.151 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005638/1.009, allocations: 0.7601 MB / 1.152 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008688/1.017, allocations: 3.419 MB / 1.155 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.019, allocations: 1.237 MB / 1.156 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002395/1.021, allocations: 371.5 kB / 1.157 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005656/1.022, allocations: 135.4 kB / 1.157 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of SimCode: time 1.333e-06/1.022, allocations: 3.938 kB / 1.157 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of Templates: time 0.06585/1.088, allocations: 31.19 MB / 1.187 GB, free: 2.68 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches