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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001061/0.001061, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001361/0.001361, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.425/2.425, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6406/0.6409, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002188/0.6432, allocations: 1.71 MB / 0.9828 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.6444, allocations: 0.69 MB / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.6445, allocations: 4 kB / 0.9835 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.6447, allocations: 23.73 kB / 0.9835 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.6449, allocations: 31.72 kB / 0.9835 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.6454, allocations: 99.88 kB / 0.9836 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.646, allocations: 355.1 kB / 0.984 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.6464, allocations: 187.5 kB / 0.9842 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.6466, allocations: 107.6 kB / 0.9843 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.6468, allocations: 111.4 kB / 0.9844 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.6469, allocations: 12 kB / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.992e-05/0.6469, allocations: 19.94 kB / 0.9844 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.647, allocations: 51.83 kB / 0.9844 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.6471, allocations: 69.56 kB / 0.9845 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.6476, allocations: 305.5 kB / 0.9848 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6476, allocations: 0 / 0.9848 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6476, allocations: 0 / 0.9848 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.6476, allocations: 0 / 0.9848 GB, free: 2.477 MB / 0.7325 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.001026/0.6487, allocations: 0.5143 MB / 0.9853 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.6487, allocations: 12.03 kB / 0.9853 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.247e-05/0.6488, allocations: 70.47 kB / 0.9854 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.6489, allocations: 31.62 kB / 0.9854 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.6493, allocations: 266.6 kB / 0.9857 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.6493, allocations: 20.56 kB / 0.9857 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.6494, allocations: 32 kB / 0.9857 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.65, allocations: 327.5 kB / 0.986 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.6501, allocations: 0 / 0.986 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.6501, allocations: 12 kB / 0.986 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.6501, allocations: 4 kB / 0.986 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.6506, allocations: 238.1 kB / 0.9863 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.6521, allocations: 0.9519 MB / 0.9872 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.6526, allocations: 248.5 kB / 0.9874 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.6528, allocations: 121.3 kB / 0.9876 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.6529, allocations: 16.16 kB / 0.9876 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.6532, allocations: 163.4 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.674e-06/0.6532, allocations: 0 / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.0007387/0.654, allocations: 335.6 kB / 0.988 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.654, allocations: 63.31 kB / 0.9881 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.6542, allocations: 198.8 kB / 0.9883 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.6543, allocations: 37.7 kB / 0.9883 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6544, allocations: 152.6 kB / 0.9885 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.6545, allocations: 78.91 kB / 0.9886 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.6545, allocations: 12 kB / 0.9886 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6546, allocations: 334.8 kB / 0.9889 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.6548, allocations: 99.89 kB / 0.989 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.6551, allocations: 153 kB / 0.9891 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.6553, allocations: 95.73 kB / 0.9892 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6553, allocations: 0 / 0.9892 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005204/0.6558, allocations: 312.6 kB / 0.9895 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6558, allocations: 11.95 kB / 0.9895 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6558, allocations: 0 / 0.9895 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.6559, allocations: 4 kB / 0.9895 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.6561, allocations: 43.91 kB / 0.9896 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.6561, allocations: 11.92 kB / 0.9896 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.6563, allocations: 55.81 kB / 0.9896 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.6563, allocations: 19.98 kB / 0.9897 GB, free: 13.25 MB / 0.7481 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.6565, allocations: 165.8 kB / 0.9898 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.6566, allocations: 19.81 kB / 0.9898 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000552/0.6571, allocations: 284.7 kB / 0.9901 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6571, allocations: 4 kB / 0.9901 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6571, allocations: 3.984 kB / 0.9901 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.6571, allocations: 0 / 0.9901 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.6582, allocations: 0.7446 MB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6582, allocations: 4 kB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.6584, allocations: 35.92 kB / 0.9909 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6584, allocations: 0 / 0.9909 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.6584, allocations: 8 kB / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6584, allocations: 0 / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6584, allocations: 0 / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.6589, allocations: 363.2 kB / 0.9912 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.659, allocations: 104.7 kB / 0.9913 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.659, allocations: 8 kB / 0.9913 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.6592, allocations: 35.97 kB / 0.9914 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.6593, allocations: 35.94 kB / 0.9914 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.6594, allocations: 15.98 kB / 0.9914 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001017/0.6595, allocations: 136.2 kB / 0.9916 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6595, allocations: 0 / 0.9916 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003202/0.6598, allocations: 67.78 kB / 0.9916 GB, free: 11.13 MB / 0.7481 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.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009223/0.6607, allocations: 0.9097 MB / 0.9925 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.6613, allocations: 259.9 kB / 0.9928 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6613, allocations: 0 / 0.9928 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.6615, allocations: 139.8 kB / 0.9929 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.6619, allocations: 32.11 kB / 0.9929 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.6641, allocations: 1.435 MB / 0.9943 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.6644, allocations: 0.7604 MB / 0.9951 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.6646, allocations: 34.27 kB / 0.9951 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.6647, allocations: 86.03 kB / 0.9952 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.6647, allocations: 0 / 0.9952 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.6805, allocations: 4.96 MB / 1 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.6808, allocations: 232.8 kB / 1 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/2.745, allocations: 0 / 1 GB, free: 2.363 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat does not exist to compare? outputFormat=mat