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.001614/0.001614, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.00161/0.00161, allocations: 190.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.433/1.433, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.617/2.617, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.83 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3182, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.5636/0.8818, allocations: 60.61 MB / 1.077 GB, free: 19.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01625/0.8981, allocations: 13.2 MB / 1.09 GB, free: 19.53 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.9005, allocations: 70.75 kB / 1.09 GB, free: 19.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.9031, allocations: 0.9626 MB / 1.091 GB, free: 19.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006277/0.9094, allocations: 2.326 MB / 1.093 GB, free: 19.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.9135, allocations: 1.571 MB / 1.095 GB, free: 19.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006479/0.92, allocations: 4.313 MB / 1.099 GB, free: 18.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.9223, allocations: 1.352 MB / 1.1 GB, free: 18.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.926, allocations: 1.565 MB / 1.102 GB, free: 17.47 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/0.9285, allocations: 1.207 MB / 1.103 GB, free: 17 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.9289, allocations: 142.7 kB / 1.103 GB, free: 17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004351/0.9333, allocations: 1.47 MB / 1.105 GB, free: 16.55 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00051/0.9338, allocations: 421.8 kB / 1.105 GB, free: 16.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.9351, allocations: 0.912 MB / 1.106 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005284/0.9404, allocations: 2.76 MB / 1.109 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.9404, allocations: 4 kB / 1.109 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9405, allocations: 1 kB / 1.109 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.907e-05/0.9405, allocations: 0 / 1.109 GB, free: 14.85 MB / 0.8419 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.004051/0.9446, allocations: 2.183 MB / 1.111 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.9446, allocations: 10.66 kB / 1.111 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004566/0.9492, allocations: 0.6046 MB / 1.111 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/0.9521, allocations: 1.378 MB / 1.113 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.9523, allocations: 149.7 kB / 1.113 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.9525, allocations: 96.47 kB / 1.113 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003362/0.9559, allocations: 1.379 MB / 1.114 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.9559, allocations: 1.031 kB / 1.114 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.956, allocations: 38.17 kB / 1.114 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/0.9561, allocations: 23.88 kB / 1.114 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004331/0.9604, allocations: 1.424 MB / 1.116 GB, free: 11.43 MB / 0.8419 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.008257/0.9687, allocations: 5.614 MB / 1.121 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005581/0.9743, allocations: 1.385 MB / 1.123 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.9761, allocations: 0.6372 MB / 1.123 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006852/0.9768, allocations: 1.234 MB / 1.124 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002133/0.979, allocations: 0.6809 MB / 1.125 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=70): time 3.437e-06/0.979, allocations: 0 / 1.125 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70): time 0.007398/0.9864, allocations: 1.755 MB / 1.127 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.9865, allocations: 67.84 kB / 1.127 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.9892, allocations: 1.291 MB / 1.128 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.9895, allocations: 39.8 kB / 1.128 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/0.9902, allocations: 0.6535 MB / 1.129 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.9905, allocations: 242.2 kB / 1.129 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/0.9909, allocations: 179.2 kB / 1.129 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.991, allocations: 340.1 kB / 1.13 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.9933, allocations: 0.5519 MB / 1.13 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/0.9959, allocations: 0.7749 MB / 1.131 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004526/1, allocations: 1.192 MB / 1.132 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/1.001, allocations: 1.469 kB / 1.132 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004279/1.005, allocations: 1.454 MB / 1.133 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/1.005, allocations: 32.92 kB / 1.133 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.005, allocations: 3.859 kB / 1.133 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.005, allocations: 9.922 kB / 1.133 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.006, allocations: 275.3 kB / 1.134 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/1.006, allocations: 6.5 kB / 1.134 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.008, allocations: 187.2 kB / 1.134 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/1.008, allocations: 40.47 kB / 1.134 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003001/1.011, allocations: 0.8088 MB / 1.135 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00264/1.014, allocations: 0.7756 MB / 1.136 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004541/1.018, allocations: 1.178 MB / 1.137 GB, free: 420 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.282e-06/1.018, allocations: 2.062 kB / 1.137 GB, free: 420 kB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.006287/1.025, allocations: 1.449 MB / 1.138 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/1.025, allocations: 36.98 kB / 1.138 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.025, allocations: 3.312 kB / 1.138 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/1.025, allocations: 6.469 kB / 1.138 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/1.027, allocations: 268.2 kB / 1.138 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/1.027, allocations: 15 kB / 1.138 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/1.03, allocations: 182.6 kB / 1.139 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/1.03, allocations: 42.91 kB / 1.139 GB, free: 15.6 MB / 0.8575 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.0004912/1.03, allocations: 227.5 kB / 1.139 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005883/1.031, allocations: 148.4 kB / 1.139 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/1.036, allocations: 1.504 MB / 1.14 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/1.036, allocations: 19.67 kB / 1.14 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.036, allocations: 0.9688 kB / 1.14 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003598/1.04, allocations: 1.268 MB / 1.142 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007783/1.048, allocations: 3.265 MB / 1.145 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.048, allocations: 9.438 kB / 1.145 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.049, allocations: 229.8 kB / 1.145 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/1.049, allocations: 6.438 kB / 1.145 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.701e-05/1.049, allocations: 28.02 kB / 1.145 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/1.049, allocations: 12.02 kB / 1.145 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.049, allocations: 9.469 kB / 1.145 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00619/1.055, allocations: 2.292 MB / 1.147 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009202/1.056, allocations: 348.4 kB / 1.148 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/1.056, allocations: 28.05 kB / 1.148 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/1.058, allocations: 136.8 kB / 1.148 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.058, allocations: 77.98 kB / 1.148 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.058, allocations: 45.2 kB / 1.148 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001331/1.06, allocations: 0.9208 MB / 1.149 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.06, allocations: 0 / 1.149 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002318/1.062, allocations: 0.8037 MB / 1.15 GB, free: 9.16 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 (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.001151/1.063, allocations: 0.5131 MB / 1.15 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006204/1.069, allocations: 2.13 MB / 1.152 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.069, allocations: 0 / 1.152 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/1.071, allocations: 0.6874 MB / 1.153 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/1.075, allocations: 0.7675 MB / 1.154 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006597/1.082, allocations: 2.952 MB / 1.157 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009312/1.083, allocations: 1.239 MB / 1.158 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006496/1.083, allocations: 139.4 kB / 1.158 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of SimCode: time 1.123e-06/1.083, allocations: 0 / 1.158 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.04417/1.128, allocations: 27.07 MB / 1.184 GB, free: 9.32 MB / 0.8887 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/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