Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",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.001214/0.001214, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001594/0.001594, allocations: 172.7 kB / 15.95 MB, free: 208 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.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.594/2.594, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8296, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002151/0.8318, allocations: 1.722 MB / 0.9828 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.8339, allocations: 1.467 MB / 0.9843 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.8341, allocations: 8 kB / 0.9843 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.135e-05/0.8342, allocations: 39.56 kB / 0.9843 GB, free: 3 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.8344, allocations: 63.47 kB / 0.9844 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.835, allocations: 211 kB / 0.9846 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005/0.8355, allocations: 0.5668 MB / 0.9851 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.8359, allocations: 261.1 kB / 0.9854 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.836, allocations: 143.3 kB / 0.9855 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.8362, allocations: 166.9 kB / 0.9857 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.8363, allocations: 16 kB / 0.9857 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.234e-05/0.8364, allocations: 27.98 kB / 0.9857 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.8364, allocations: 63.64 kB / 0.9858 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.8365, allocations: 113.4 kB / 0.9859 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.837, allocations: 0.5904 MB / 0.9865 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.837, allocations: 0 / 0.9865 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.837, allocations: 4 kB / 0.9865 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.8371, allocations: 0 / 0.9865 GB, free: 0.7891 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0009892/0.8381, allocations: 0.7191 MB / 0.9872 GB, free: 16 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.8381, allocations: 12.03 kB / 0.9872 GB, free: 4 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.8382, allocations: 94.52 kB / 0.9873 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.8383, allocations: 63.34 kB / 0.9873 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.8387, allocations: 350.5 kB / 0.9877 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.8388, allocations: 41.31 kB / 0.9877 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.8389, allocations: 56 kB / 0.9877 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007968/0.8397, allocations: 0.5103 MB / 0.9882 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.8397, allocations: 0 / 0.9882 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.8397, allocations: 28 kB / 0.9883 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.8398, allocations: 12 kB / 0.9883 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006241/0.8404, allocations: 364.7 kB / 0.9886 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.8422, allocations: 1.461 MB / 0.9901 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.8428, allocations: 285.4 kB / 0.9903 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.8431, allocations: 193.6 kB / 0.9905 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.8432, allocations: 7.984 kB / 0.9905 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/0.8436, allocations: 203 kB / 0.9907 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.8436, allocations: 3.938 kB / 0.9907 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.0007798/0.8444, allocations: 403.4 kB / 0.9911 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.8444, allocations: 93.03 kB / 0.9912 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.8449, allocations: 405.6 kB / 0.9916 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.8449, allocations: 37.7 kB / 0.9916 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.8451, allocations: 259.9 kB / 0.9919 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.044e-05/0.8452, allocations: 114.3 kB / 0.992 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.8452, allocations: 15.94 kB / 0.992 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8453, allocations: 346.8 kB / 0.9923 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.8456, allocations: 140.8 kB / 0.9925 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.8459, allocations: 203.3 kB / 0.9926 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.8462, allocations: 188.5 kB / 0.9928 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8462, allocations: 3.938 kB / 0.9928 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007808/0.847, allocations: 477.6 kB / 0.9933 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.8471, allocations: 38.94 kB / 0.9933 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.8471, allocations: 4 kB / 0.9933 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8471, allocations: 4 kB / 0.9933 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.8474, allocations: 95.98 kB / 0.9934 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.8475, allocations: 7.984 kB / 0.9934 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.8478, allocations: 92.88 kB / 0.9935 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.8478, allocations: 23.98 kB / 0.9935 GB, free: 9.215 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0001825/0.848, allocations: 165.8 kB / 0.9937 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.8481, allocations: 39.53 kB / 0.9937 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.8487, allocations: 341 kB / 0.9941 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.8487, allocations: 4 kB / 0.9941 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.8487, allocations: 3.953 kB / 0.9941 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.8487, allocations: 3.984 kB / 0.9941 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.8498, allocations: 0.9799 MB / 0.995 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8499, allocations: 4 kB / 0.995 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.8501, allocations: 68.09 kB / 0.9951 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.8501, allocations: 7.938 kB / 0.9951 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.8501, allocations: 8 kB / 0.9951 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.8501, allocations: 3.938 kB / 0.9951 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8502, allocations: 4 kB / 0.9951 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000595/0.8508, allocations: 0.524 MB / 0.9956 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.8509, allocations: 132.5 kB / 0.9958 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.8509, allocations: 8 kB / 0.9958 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.8511, allocations: 15.98 kB / 0.9958 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.8512, allocations: 23.97 kB / 0.9958 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.8512, allocations: 8 kB / 0.9958 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002705/0.8515, allocations: 283.2 kB / 0.9961 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3e-07/0.8515, allocations: 0 / 0.9961 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004667/0.852, allocations: 115.6 kB / 0.9962 GB, free: 6.352 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008689/0.8529, allocations: 1.075 MB / 0.9972 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006501/0.8535, allocations: 391.5 kB / 0.9976 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8535, allocations: 0 / 0.9976 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.8538, allocations: 138.8 kB / 0.9977 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.8544, allocations: 71.23 kB / 0.9978 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.8579, allocations: 2.449 MB / 1 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.8583, allocations: 0.8198 MB / 1.001 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.8585, allocations: 43.27 kB / 1.001 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.8587, allocations: 155.4 kB / 1.001 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of SimCode: time 1.453e-06/0.8587, allocations: 0 / 1.001 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.8793, allocations: 7.384 MB / 1.008 GB, free: 9.93 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.8796, allocations: 233.4 kB / 1.009 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.849, allocations: 0 / 1.009 GB, free: 9.688 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat