Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006969/0.006969, allocations: 98.8 kB / 15.73 MB, free: 6.047 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.001803/0.001803, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.687/2.687, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 67.88 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2863, allocations: 162.3 MB / 1.242 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003134/0.2895, allocations: 2.043 MB / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2906, allocations: 0.7053 MB / 1.245 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.2907, allocations: 4 kB / 1.245 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.2909, allocations: 27.61 kB / 1.245 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.515e-05/0.291, allocations: 43.58 kB / 1.245 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.2914, allocations: 159.8 kB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.2918, allocations: 403.1 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.2921, allocations: 231.8 kB / 1.245 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.2923, allocations: 139.5 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.2925, allocations: 147.4 kB / 1.246 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.528e-05/0.2926, allocations: 40 kB / 1.246 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.2927, allocations: 44 kB / 1.246 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.2927, allocations: 79.81 kB / 1.246 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.2929, allocations: 151.2 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.2934, allocations: 426.3 kB / 1.246 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2934, allocations: 4 kB / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2934, allocations: 0 / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2934, allocations: 0 / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008396/0.2942, allocations: 0.5804 MB / 1.247 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.2943, allocations: 8.031 kB / 1.247 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.2943, allocations: 62.72 kB / 1.247 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/0.2944, allocations: 36.7 kB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.2947, allocations: 283.8 kB / 1.247 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.2948, allocations: 24.94 kB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.2948, allocations: 32.38 kB / 1.247 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.2954, allocations: 319.8 kB / 1.248 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2954, allocations: 0 / 1.248 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.2955, allocations: 12 kB / 1.248 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.2955, allocations: 8 kB / 1.248 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.296, allocations: 234.1 kB / 1.248 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.2974, allocations: 0.9288 MB / 1.249 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.2979, allocations: 251.5 kB / 1.249 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.2982, allocations: 113.3 kB / 1.249 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2982, allocations: 4.234 kB / 1.249 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.2985, allocations: 159.5 kB / 1.249 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.724e-06/0.2985, allocations: 0 / 1.249 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.0007059/0.2992, allocations: 325.4 kB / 1.25 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.2993, allocations: 63.41 kB / 1.25 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2995, allocations: 210.2 kB / 1.25 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.2995, allocations: 37.7 kB / 1.25 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2997, allocations: 152.8 kB / 1.25 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.712e-05/0.2998, allocations: 79.38 kB / 1.25 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.2999, allocations: 81.67 kB / 1.25 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3, allocations: 338.8 kB / 1.251 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.3003, allocations: 95.95 kB / 1.251 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.3005, allocations: 145 kB / 1.251 GB, free: 432 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.3009, allocations: 215.3 kB / 1.251 GB, free: 200 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.3009, allocations: 3.938 kB / 1.251 GB, free: 196 kB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.467/0.7679, allocations: 305.2 kB / 1.251 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.768, allocations: 7 kB / 1.251 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.768, allocations: 2.359 kB / 1.251 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.768, allocations: 3.812 kB / 1.251 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.7682, allocations: 42.5 kB / 1.251 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.7682, allocations: 5.781 kB / 1.251 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.7685, allocations: 47.8 kB / 1.251 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.7685, allocations: 16.59 kB / 1.251 GB, free: 14.62 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0001596/0.7687, allocations: 174.5 kB / 1.252 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.7687, allocations: 22.27 kB / 1.252 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005393/0.7693, allocations: 281.2 kB / 1.252 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.7693, allocations: 4.25 kB / 1.252 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7693, allocations: 1.203 kB / 1.252 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7693, allocations: 2.078 kB / 1.252 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008766/0.7702, allocations: 0.7246 MB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7702, allocations: 1.547 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.7703, allocations: 33.09 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7704, allocations: 3.531 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.7704, allocations: 6.125 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7704, allocations: 2.188 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7704, allocations: 7.297 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.7708, allocations: 365.6 kB / 1.253 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.7709, allocations: 103.4 kB / 1.253 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.7709, allocations: 6.562 kB / 1.253 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.7711, allocations: 25.2 kB / 1.253 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.7712, allocations: 42.58 kB / 1.253 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.7712, allocations: 7.797 kB / 1.253 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.025e-05/0.7713, allocations: 135.3 kB / 1.253 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7713, allocations: 1.75 kB / 1.253 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002975/0.7716, allocations: 66.45 kB / 1.253 GB, free: 13.86 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006046/0.7722, allocations: 0.9094 MB / 1.254 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.7727, allocations: 249.8 kB / 1.254 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7727, allocations: 0 / 1.254 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.7729, allocations: 132.8 kB / 1.255 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.7733, allocations: 38.48 kB / 1.255 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.7758, allocations: 2.548 MB / 1.257 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.776, allocations: 0.7624 MB / 1.258 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.7761, allocations: 29.5 kB / 1.258 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.7762, allocations: 86.28 kB / 1.258 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.7762, allocations: 0 / 1.258 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.465/2.242, allocations: 5.631 MB / 1.263 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/13.79, allocations: 5.547 kB / 1.263 GB, free: 10.04 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches