Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,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.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,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.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 108.5 kB / 16.41 MB, free: 6.41 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.001633/0.001634, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.446/1.446, allocations: 222.9 MB / 241 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.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.916/0.9174, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.06564/0.9831, allocations: 60.45 MB / 1.148 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02204/1.005, allocations: 13.21 MB / 1.161 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003809/1.009, allocations: 71.72 kB / 1.161 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003444/1.013, allocations: 0.9597 MB / 1.162 GB, free: 316 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008835/1.021, allocations: 2.309 MB / 1.164 GB, free: 14.92 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005476/1.027, allocations: 1.568 MB / 1.165 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008339/1.035, allocations: 4.287 MB / 1.17 GB, free: 12 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/1.038, allocations: 1.32 MB / 1.171 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005279/1.044, allocations: 1.619 MB / 1.172 GB, free: 10.62 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003123/1.047, allocations: 1.182 MB / 1.174 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007502/1.048, allocations: 139.2 kB / 1.174 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005176/1.053, allocations: 1.477 MB / 1.175 GB, free: 9.375 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/1.054, allocations: 432.8 kB / 1.176 GB, free: 9.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002788/1.057, allocations: 0.9135 MB / 1.176 GB, free: 8.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006234/1.063, allocations: 2.799 MB / 1.179 GB, free: 6.586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.063, allocations: 1.375 kB / 1.179 GB, free: 6.586 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.605e-06/1.063, allocations: 0 / 1.179 GB, free: 6.586 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.845e-05/1.063, allocations: 0 / 1.179 GB, free: 6.586 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.004411/1.067, allocations: 2.195 MB / 1.181 GB, free: 4.926 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.067, allocations: 9.281 kB / 1.181 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/1.071, allocations: 0.6088 MB / 1.182 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/1.074, allocations: 1.441 MB / 1.183 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/1.074, allocations: 143.7 kB / 1.183 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/1.074, allocations: 108.3 kB / 1.184 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/1.077, allocations: 1.313 MB / 1.185 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.078, allocations: 1.312 kB / 1.185 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.078, allocations: 40.19 kB / 1.185 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/1.078, allocations: 24.31 kB / 1.185 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00379/1.081, allocations: 1.326 MB / 1.186 GB, free: 2.004 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.00794/1.089, allocations: 5.384 MB / 1.191 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/1.092, allocations: 1.051 MB / 1.193 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/1.094, allocations: 0.5993 MB / 1.193 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009555/1.095, allocations: 1.238 MB / 1.194 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001963/1.097, allocations: 0.6664 MB / 1.195 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=69): time 3.146e-06/1.097, allocations: 0 / 1.195 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69): time 0.005469/1.102, allocations: 1.705 MB / 1.197 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.102, allocations: 58.59 kB / 1.197 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/1.105, allocations: 1.337 MB / 1.198 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/1.105, allocations: 44.73 kB / 1.198 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006481/1.105, allocations: 0.6707 MB / 1.199 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/1.106, allocations: 234.3 kB / 1.199 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/1.106, allocations: 182.3 kB / 1.199 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.106, allocations: 332.6 kB / 1.199 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/1.108, allocations: 0.5271 MB / 1.2 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/1.11, allocations: 0.7503 MB / 1.201 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/1.113, allocations: 1.144 MB / 1.202 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.113, allocations: 5.312 kB / 1.202 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004297/1.117, allocations: 1.405 MB / 1.203 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/1.117, allocations: 38.39 kB / 1.203 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.117, allocations: 7.219 kB / 1.203 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/1.117, allocations: 10.38 kB / 1.203 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.119, allocations: 249.3 kB / 1.203 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/1.119, allocations: 11.17 kB / 1.203 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/1.121, allocations: 182.5 kB / 1.204 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.121, allocations: 42.09 kB / 1.204 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002144/1.123, allocations: 0.7922 MB / 1.204 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00182/1.125, allocations: 0.7439 MB / 1.205 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003395/1.128, allocations: 1.135 MB / 1.206 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.224e-06/1.128, allocations: 1.5 kB / 1.206 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004248/1.132, allocations: 1.4 MB / 1.208 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/1.132, allocations: 37.77 kB / 1.208 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.132, allocations: 0 / 1.208 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/1.133, allocations: 11.98 kB / 1.208 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.134, allocations: 255.5 kB / 1.208 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/1.134, allocations: 8 kB / 1.208 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/1.136, allocations: 171.4 kB / 1.208 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.136, allocations: 39.97 kB / 1.208 GB, free: 2.652 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.000342/1.136, allocations: 228.1 kB / 1.208 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005394/1.137, allocations: 150.1 kB / 1.208 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/1.141, allocations: 1.47 MB / 1.21 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.141, allocations: 8 kB / 1.21 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.141, allocations: 4 kB / 1.21 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003325/1.144, allocations: 1.238 MB / 1.211 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007344/1.152, allocations: 3.226 MB / 1.214 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.152, allocations: 7.938 kB / 1.214 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.153, allocations: 224 kB / 1.215 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/1.153, allocations: 11.94 kB / 1.215 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/1.153, allocations: 27.97 kB / 1.215 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/1.153, allocations: 8 kB / 1.215 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.153, allocations: 11.94 kB / 1.215 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005757/1.159, allocations: 2.232 MB / 1.217 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008332/1.16, allocations: 350.8 kB / 1.217 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000444/1.16, allocations: 23.94 kB / 1.217 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.162, allocations: 119.9 kB / 1.217 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/1.162, allocations: 72.36 kB / 1.217 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.162, allocations: 43.95 kB / 1.217 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0021/1.164, allocations: 0.949 MB / 1.218 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.31e-07/1.164, allocations: 4 kB / 1.218 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00396/1.168, allocations: 0.7993 MB / 1.219 GB, free: 7.152 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.001448/1.17, allocations: 0.517 MB / 1.22 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006046/1.176, allocations: 2.011 MB / 1.222 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.176, allocations: 7.938 kB / 1.222 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/1.178, allocations: 0.664 MB / 1.222 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004413/1.182, allocations: 0.7566 MB / 1.223 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/1.188, allocations: 2.764 MB / 1.226 GB, free: 344 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.189, allocations: 1.237 MB / 1.227 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/1.19, allocations: 143.3 kB / 1.227 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of SimCode: time 2.024e-06/1.19, allocations: 0 / 1.227 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.04098/1.231, allocations: 27.27 MB / 1.254 GB, free: 3.883 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches