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.001451/0.001451, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001643/0.001644, allocations: 192 kB / 17.31 MB, free: 5.18 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.48/2.48, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.42 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3643, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.7357/1.1, allocations: 60.61 MB / 1.078 GB, free: 20.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01868/1.119, allocations: 13.2 MB / 1.091 GB, free: 20.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003504/1.122, allocations: 70.66 kB / 1.091 GB, free: 20.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003291/1.126, allocations: 0.9584 MB / 1.092 GB, free: 20.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008394/1.134, allocations: 2.331 MB / 1.094 GB, free: 20.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005131/1.139, allocations: 1.581 MB / 1.096 GB, free: 19.9 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009131/1.148, allocations: 4.32 MB / 1.1 GB, free: 19.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002932/1.151, allocations: 1.345 MB / 1.101 GB, free: 18.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006764/1.158, allocations: 1.57 MB / 1.103 GB, free: 17.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00446/1.163, allocations: 1.205 MB / 1.104 GB, free: 17.36 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006249/1.163, allocations: 142.6 kB / 1.104 GB, free: 17.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006859/1.17, allocations: 1.472 MB / 1.105 GB, free: 16.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007058/1.171, allocations: 424.4 kB / 1.106 GB, free: 16.67 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002212/1.173, allocations: 0.9071 MB / 1.107 GB, free: 16.12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008303/1.181, allocations: 2.787 MB / 1.11 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/1.182, allocations: 0.6094 kB / 1.11 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.326e-06/1.182, allocations: 5.094 kB / 1.11 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.909e-05/1.182, allocations: 0 / 1.11 GB, free: 15.19 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.005611/1.187, allocations: 2.185 MB / 1.112 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/1.187, allocations: 9.453 kB / 1.112 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004003/1.191, allocations: 0.549 MB / 1.112 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/1.195, allocations: 1.44 MB / 1.114 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/1.195, allocations: 144.4 kB / 1.114 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/1.195, allocations: 107.5 kB / 1.114 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003519/1.199, allocations: 1.323 MB / 1.115 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/1.199, allocations: 1.031 kB / 1.115 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.199, allocations: 37.33 kB / 1.115 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/1.199, allocations: 29.09 kB / 1.115 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/1.203, allocations: 1.336 MB / 1.116 GB, free: 11.8 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.008767/1.212, allocations: 5.463 MB / 1.122 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005489/1.217, allocations: 1.341 MB / 1.123 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/1.219, allocations: 0.6006 MB / 1.124 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007478/1.22, allocations: 1.24 MB / 1.125 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/1.222, allocations: 0.6573 MB / 1.126 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=70): time 3.035e-06/1.222, allocations: 3.938 kB / 1.126 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70): time 0.005419/1.227, allocations: 1.683 MB / 1.127 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/1.227, allocations: 64.28 kB / 1.127 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/1.23, allocations: 1.291 MB / 1.129 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/1.23, allocations: 44.42 kB / 1.129 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004994/1.23, allocations: 0.6459 MB / 1.129 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/1.23, allocations: 248 kB / 1.129 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/1.231, allocations: 179.5 kB / 1.13 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/1.231, allocations: 334.5 kB / 1.13 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/1.232, allocations: 0.5298 MB / 1.13 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/1.234, allocations: 0.7493 MB / 1.131 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003037/1.237, allocations: 1.141 MB / 1.132 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.237, allocations: 0.9062 kB / 1.132 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004495/1.242, allocations: 1.41 MB / 1.134 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/1.242, allocations: 38.78 kB / 1.134 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.242, allocations: 4.25 kB / 1.134 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/1.242, allocations: 6.125 kB / 1.134 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.243, allocations: 266.2 kB / 1.134 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.851e-05/1.243, allocations: 7 kB / 1.134 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/1.245, allocations: 184.2 kB / 1.134 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/1.245, allocations: 40.12 kB / 1.134 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002247/1.247, allocations: 0.783 MB / 1.135 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001683/1.249, allocations: 0.7505 MB / 1.136 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003214/1.252, allocations: 1.131 MB / 1.137 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.301e-06/1.252, allocations: 1.125 kB / 1.137 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004984/1.257, allocations: 1.401 MB / 1.138 GB, free: 352 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/1.257, allocations: 32.52 kB / 1.138 GB, free: 320 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.257, allocations: 11.36 kB / 1.138 GB, free: 312 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.258, allocations: 6.969 kB / 1.138 GB, free: 312 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.259, allocations: 254.1 kB / 1.138 GB, free: 236 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/1.259, allocations: 15.12 kB / 1.138 GB, free: 228 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.261, allocations: 176.6 kB / 1.139 GB, free: 136 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.261, allocations: 42.19 kB / 1.139 GB, free: 120 kB / 0.8419 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.0003922/1.261, allocations: 233.5 kB / 1.139 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/1.262, allocations: 144.5 kB / 1.139 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004528/1.266, allocations: 1.457 MB / 1.14 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/1.266, allocations: 15.66 kB / 1.14 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.266, allocations: 0 / 1.14 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003592/1.27, allocations: 1.223 MB / 1.142 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008723/1.279, allocations: 3.207 MB / 1.145 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.279, allocations: 5 kB / 1.145 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.28, allocations: 224 kB / 1.145 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/1.28, allocations: 8.031 kB / 1.145 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/1.28, allocations: 34.33 kB / 1.145 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/1.28, allocations: 20.17 kB / 1.145 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/1.28, allocations: 5.5 kB / 1.145 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/1.286, allocations: 2.21 MB / 1.147 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.287, allocations: 350.5 kB / 1.148 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/1.287, allocations: 24.59 kB / 1.148 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.288, allocations: 125.9 kB / 1.148 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.289, allocations: 73.48 kB / 1.148 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.742e-05/1.289, allocations: 38.47 kB / 1.148 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001379/1.29, allocations: 0.922 MB / 1.149 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.034e-06/1.29, allocations: 0 / 1.149 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002377/1.292, allocations: 0.8094 MB / 1.15 GB, free: 9.789 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.001195/1.294, allocations: 0.5109 MB / 1.15 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005304/1.299, allocations: 2.015 MB / 1.152 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.299, allocations: 0 / 1.152 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/1.301, allocations: 0.6754 MB / 1.153 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/1.304, allocations: 0.7584 MB / 1.153 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/1.31, allocations: 2.853 MB / 1.156 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007472/1.311, allocations: 1.23 MB / 1.157 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001795/1.313, allocations: 376.4 kB / 1.158 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/1.313, allocations: 126.7 kB / 1.158 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of SimCode: time 1.032e-06/1.313, allocations: 0 / 1.158 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of Templates: time 0.05785/1.371, allocations: 31.62 MB / 1.189 GB, free: 5.863 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=480 -s cvode -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