Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_11_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.001682/0.001688, allocations: 108 kB / 15.61 MB, free: 152 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.00183/0.00183, allocations: 194.6 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.654/2.654, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 65.23 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2653, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003462/0.2688, allocations: 2.041 MB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.27, allocations: 0.7091 MB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.2702, allocations: 4 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.2704, allocations: 39.53 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.2705, allocations: 39.59 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.271, allocations: 159.8 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000455/0.2715, allocations: 395.2 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.2719, allocations: 239.8 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.2721, allocations: 135.5 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.2723, allocations: 147.4 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.2723, allocations: 36 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-05/0.2724, allocations: 48 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.2725, allocations: 87.67 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.2727, allocations: 143.3 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.2731, allocations: 403 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2731, allocations: 0 / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.276e-06/0.2732, allocations: 0 / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.2732, allocations: 3.938 kB / 1.069 GB, free: 9.594 MB / 0.8262 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.0008804/0.2741, allocations: 0.569 MB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2741, allocations: 8.031 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.052e-05/0.2742, allocations: 66.72 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.2743, allocations: 32.56 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.2746, allocations: 280.9 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.2746, allocations: 20.94 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.2747, allocations: 36.36 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.2752, allocations: 315.8 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2753, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.2753, allocations: 12 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2753, allocations: 8 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.2758, allocations: 238.1 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.2771, allocations: 0.9363 MB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.2777, allocations: 252.1 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.2779, allocations: 117.2 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2779, allocations: 8.234 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.2782, allocations: 160 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.2783, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006653/0.2789, allocations: 325.2 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.279, allocations: 63.41 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.2792, allocations: 207 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.2792, allocations: 41.69 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2793, allocations: 152.6 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.2794, allocations: 82.94 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.2795, allocations: 81.67 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2797, allocations: 330.8 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.2799, allocations: 95.95 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.2801, allocations: 157 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.2805, allocations: 214.3 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.2805, allocations: 7.938 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005253/0.281, allocations: 304.6 kB / 1.073 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2811, allocations: 8 kB / 1.073 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2811, allocations: 0 / 1.073 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2811, allocations: 8.156 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.2813, allocations: 35.91 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2813, allocations: 7.984 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.2815, allocations: 43.81 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.2815, allocations: 11.98 kB / 1.074 GB, free: 4.156 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.0001662/0.2817, allocations: 169.7 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.2817, allocations: 23.72 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/0.2823, allocations: 292.6 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2823, allocations: 4 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2823, allocations: 0 / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2823, allocations: 7.984 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009925/0.2833, allocations: 0.7288 MB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2834, allocations: 0 / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.2835, allocations: 31.91 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2835, allocations: 0 / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2835, allocations: 4 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2835, allocations: 4 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2835, allocations: 7.875 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.284, allocations: 359.7 kB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.2841, allocations: 96.86 kB / 1.075 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.2841, allocations: 4 kB / 1.075 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.2843, allocations: 23.97 kB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.2844, allocations: 39.89 kB / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.2845, allocations: 8 kB / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001012/0.2846, allocations: 131.2 kB / 1.075 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2846, allocations: 4 kB / 1.075 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002938/0.2849, allocations: 71.75 kB / 1.076 GB, free: 2.062 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.0008172/0.2857, allocations: 0.9074 MB / 1.076 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.2863, allocations: 255.8 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2863, allocations: 3.938 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.2865, allocations: 132.3 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.2868, allocations: 36.23 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.2898, allocations: 2.537 MB / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.2902, allocations: 0.7563 MB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.2903, allocations: 38.27 kB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.2905, allocations: 87.41 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.2905, allocations: 0 / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.029/1.32, allocations: 5.523 MB / 1.086 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/18.13, allocations: 4.188 kB / 1.086 GB, free: 7.773 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches