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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00141/0.00141, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 199.6 kB / 16.79 MB, free: 6.809 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.45/1.45, allocations: 222.9 MB / 240.5 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437 MB / 0.7106 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 63.91 kB / 0.8692 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7138/0.7154, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06888/0.7843, allocations: 60.25 MB / 1.076 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.805, allocations: 13.27 MB / 1.089 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/0.808, allocations: 63.62 kB / 1.089 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003098/0.8112, allocations: 0.8099 MB / 1.09 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009615/0.8208, allocations: 2.151 MB / 1.092 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005/0.8258, allocations: 1.422 MB / 1.093 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008061/0.8339, allocations: 5.558 MB / 1.099 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/0.8365, allocations: 1.138 MB / 1.1 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/0.8404, allocations: 1.357 MB / 1.101 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.8432, allocations: 1.201 MB / 1.102 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007171/0.8439, allocations: 76 kB / 1.103 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.8481, allocations: 1.384 MB / 1.104 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008074/0.8489, allocations: 362.4 kB / 1.104 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.851, allocations: 0.8392 MB / 1.105 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003659/0.8547, allocations: 2.093 MB / 1.107 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8547, allocations: 0 / 1.107 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8547, allocations: 0 / 1.107 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.921e-05/0.8548, allocations: 3.938 kB / 1.107 GB, free: 6.547 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.005583/0.8604, allocations: 2.185 MB / 1.109 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.8605, allocations: 8.031 kB / 1.109 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/0.8646, allocations: 0.5566 MB / 1.11 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/0.8678, allocations: 1.406 MB / 1.111 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.8681, allocations: 149.4 kB / 1.111 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/0.8684, allocations: 100 kB / 1.111 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/0.872, allocations: 1.323 MB / 1.113 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.872, allocations: 4 kB / 1.113 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.8722, allocations: 40 kB / 1.113 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.8722, allocations: 27.94 kB / 1.113 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003926/0.8762, allocations: 1.327 MB / 1.114 GB, free: 15.25 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.008601/0.8848, allocations: 5.453 MB / 1.119 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005794/0.8906, allocations: 1.334 MB / 1.121 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.8924, allocations: 0.6075 MB / 1.121 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.8936, allocations: 1.244 MB / 1.122 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/0.8955, allocations: 0.6471 MB / 1.123 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.206e-06/0.8956, allocations: 4 kB / 1.123 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.005523/0.9011, allocations: 1.684 MB / 1.125 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.9012, allocations: 67.89 kB / 1.125 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.9035, allocations: 1.279 MB / 1.126 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.9037, allocations: 45.7 kB / 1.126 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006843/0.9044, allocations: 0.6503 MB / 1.127 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.9047, allocations: 244.5 kB / 1.127 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/0.9051, allocations: 178.4 kB / 1.127 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.9053, allocations: 334 kB / 1.127 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.9069, allocations: 0.5317 MB / 1.128 GB, free: 248 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.9088, allocations: 0.7533 MB / 1.129 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/0.9119, allocations: 1.14 MB / 1.13 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.912, allocations: 4 kB / 1.13 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004062/0.916, allocations: 1.403 MB / 1.131 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.9161, allocations: 37.7 kB / 1.131 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.9161, allocations: 4 kB / 1.131 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.9162, allocations: 7.938 kB / 1.131 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.9175, allocations: 259.9 kB / 1.131 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/0.9175, allocations: 11.98 kB / 1.132 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.9193, allocations: 223 kB / 1.132 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.9194, allocations: 43.97 kB / 1.132 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002067/0.9215, allocations: 0.7868 MB / 1.133 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001714/0.9232, allocations: 0.74 MB / 1.133 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003028/0.9263, allocations: 1.136 MB / 1.134 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.9263, allocations: 0 / 1.134 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003898/0.9302, allocations: 1.399 MB / 1.136 GB, free: 8 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.9302, allocations: 29.7 kB / 1.136 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.9303, allocations: 4 kB / 1.136 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.9303, allocations: 8 kB / 1.136 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.9316, allocations: 255.7 kB / 1.136 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.9316, allocations: 11.92 kB / 1.136 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.9334, allocations: 219.2 kB / 1.136 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.9335, allocations: 39.92 kB / 1.136 GB, free: 7.438 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.0004122/0.9339, allocations: 232.1 kB / 1.136 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004658/0.9344, allocations: 146.2 kB / 1.137 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/0.9385, allocations: 1.458 MB / 1.138 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.9385, allocations: 15.94 kB / 1.138 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.9385, allocations: 4 kB / 1.138 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003423/0.942, allocations: 1.218 MB / 1.139 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.9527, allocations: 3.194 MB / 1.142 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/0.9527, allocations: 8.562 kB / 1.142 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.9543, allocations: 223.7 kB / 1.143 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.671e-05/0.9544, allocations: 8 kB / 1.143 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.9545, allocations: 31.92 kB / 1.143 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/0.9546, allocations: 11.98 kB / 1.143 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/0.9546, allocations: 7.938 kB / 1.143 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007707/0.9623, allocations: 2.216 MB / 1.145 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.9635, allocations: 346.9 kB / 1.145 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000552/0.9641, allocations: 19.94 kB / 1.145 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/0.9663, allocations: 159.8 kB / 1.145 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.9666, allocations: 80.34 kB / 1.145 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.9668, allocations: 35.97 kB / 1.145 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002432/0.9692, allocations: 0.909 MB / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9692, allocations: 0 / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003726/0.973, allocations: 0.7992 MB / 1.147 GB, free: 12.02 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.001707/0.9747, allocations: 0.5048 MB / 1.148 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00728/0.982, allocations: 1.996 MB / 1.15 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.982, allocations: 4.188 kB / 1.15 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002098/0.9841, allocations: 0.6638 MB / 1.15 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/0.9893, allocations: 0.7469 MB / 1.151 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1, allocations: 3.43 MB / 1.154 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.002, allocations: 1.23 MB / 1.155 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.003, allocations: 139.2 kB / 1.156 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of SimCode: time 1.664e-06/1.003, allocations: 4 kB / 1.156 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of Templates: time 0.06137/1.064, allocations: 26.76 MB / 1.182 GB, free: 8.625 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches