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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00131/0.00131, allocations: 108 kB / 15.61 MB, free: 148 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.001267/0.001267, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.413/2.413, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 61.52 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2468, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002804/0.2496, allocations: 2.04 MB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2506, allocations: 0.7172 MB / 1.056 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.2507, allocations: 8 kB / 1.056 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2509, allocations: 39.55 kB / 1.056 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/0.251, allocations: 39.59 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.2513, allocations: 159.7 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.2517, allocations: 391.2 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.252, allocations: 237.3 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.2522, allocations: 143.5 kB / 1.057 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2523, allocations: 139.4 kB / 1.057 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.2524, allocations: 40 kB / 1.057 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.112e-05/0.2525, allocations: 40 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.2526, allocations: 91.67 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.2527, allocations: 151.3 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.2531, allocations: 407 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2531, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2531, allocations: 3.938 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2531, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.8106 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.0007705/0.2539, allocations: 0.569 MB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2539, allocations: 12.62 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.254, allocations: 62.72 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.761e-05/0.2541, allocations: 32.56 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.2544, allocations: 280.2 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.2544, allocations: 20.94 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.2544, allocations: 32.38 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.2549, allocations: 315.8 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.255, allocations: 0 / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.255, allocations: 12 kB / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.255, allocations: 4 kB / 1.059 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.2554, allocations: 242 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.2567, allocations: 0.9363 MB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.2572, allocations: 247.5 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.2574, allocations: 121.2 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2574, allocations: 4.234 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.2577, allocations: 152.8 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.2578, allocations: 3.938 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0006236/0.2584, allocations: 337.2 kB / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.2584, allocations: 63.39 kB / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.2586, allocations: 202.7 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.2586, allocations: 41.7 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.2587, allocations: 148.6 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.2588, allocations: 82.92 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2589, allocations: 81.69 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.259, allocations: 334.8 kB / 1.062 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.2592, allocations: 91.95 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.2594, allocations: 153 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.2598, allocations: 214.3 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2598, allocations: 3.938 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004821/0.2603, allocations: 304.7 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2603, allocations: 7.984 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2603, allocations: 4 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2603, allocations: 0 / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.2605, allocations: 39.92 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2605, allocations: 7.984 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.2607, allocations: 43.88 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.2608, allocations: 12 kB / 1.062 GB, free: 14.27 MB / 0.8262 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.0001506/0.2609, allocations: 173.7 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.261, allocations: 23.72 kB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.2615, allocations: 276.6 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.2615, allocations: 7.984 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2615, allocations: 8 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2615, allocations: 0 / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.2624, allocations: 0.733 MB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2625, allocations: 0 / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.2626, allocations: 31.92 kB / 1.064 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2626, allocations: 4 kB / 1.064 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.2626, allocations: 11.98 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2626, allocations: 3.938 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2627, allocations: 3.938 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/0.2631, allocations: 343.3 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.2632, allocations: 100.8 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.2632, allocations: 8 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.2634, allocations: 31.95 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.2635, allocations: 39.89 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.2635, allocations: 4 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.455e-05/0.2636, allocations: 136.4 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2636, allocations: 0 / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002909/0.2639, allocations: 75.78 kB / 1.064 GB, free: 12.17 MB / 0.8262 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.0007469/0.2647, allocations: 0.9061 MB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005101/0.2652, allocations: 255.8 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2652, allocations: 320 / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.2654, allocations: 143.8 kB / 1.066 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2658, allocations: 33.48 kB / 1.066 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.2685, allocations: 2.525 MB / 1.068 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.2688, allocations: 0.7641 MB / 1.069 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.269, allocations: 34.28 kB / 1.069 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.2691, allocations: 91.39 kB / 1.069 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2691, allocations: 4 kB / 1.069 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.753/2.023, allocations: 5.525 MB / 1.074 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/9.099, allocations: 15.34 kB / 1.074 GB, free: 1.867 MB / 0.8262 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=50 --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