Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_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.00124/0.00124, allocations: 86.72 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.001232/0.001233, 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.413/1.413, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.618/2.618, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 8 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.7277, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001748/0.7295, allocations: 1.498 MB / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002498/0.7298, allocations: 107.7 kB / 0.9827 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.655e-05/0.7299, allocations: 4 kB / 0.9827 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.73, allocations: 15.86 kB / 0.9827 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.081e-05/0.7301, allocations: 47.61 kB / 0.9828 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.7302, allocations: 19.97 kB / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.7305, allocations: 159.1 kB / 0.9829 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.7306, allocations: 33.08 kB / 0.983 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.235e-05/0.7307, allocations: 43.84 kB / 0.983 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.7308, allocations: 59.75 kB / 0.9831 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.7309, allocations: 11.94 kB / 0.9831 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.528e-05/0.7309, allocations: 4 kB / 0.9831 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.7309, allocations: 15.92 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.731, allocations: 49.64 kB / 0.9831 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.7311, allocations: 82.03 kB / 0.9832 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.7311, allocations: 0 / 0.9832 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7312, allocations: 4 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.7312, allocations: 0 / 0.9832 GB, free: 4.09 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007869/0.732, allocations: 446.8 kB / 0.9836 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.732, allocations: 11.97 kB / 0.9837 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.7321, allocations: 38.56 kB / 0.9837 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.7321, allocations: 15.81 kB / 0.9837 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.7324, allocations: 204.3 kB / 0.9839 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.7324, allocations: 4 kB / 0.9839 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.7324, allocations: 8 kB / 0.9839 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.7327, allocations: 131.3 kB / 0.984 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.7328, allocations: 3.938 kB / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.7328, allocations: 0 / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7328, allocations: 0 / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.7331, allocations: 115.9 kB / 0.9842 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007444/0.7338, allocations: 468.7 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.7342, allocations: 137.3 kB / 0.9847 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.7344, allocations: 73.67 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.7345, allocations: 4 kB / 0.9848 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.7345, allocations: 30.56 kB / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.7345, allocations: 0 / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005983/0.7351, allocations: 205.4 kB / 0.985 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.7352, allocations: 81.11 kB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.7353, allocations: 170.4 kB / 0.9853 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.7354, allocations: 29.7 kB / 0.9853 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.7354, allocations: 104.3 kB / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.7355, allocations: 31.55 kB / 0.9854 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.7355, allocations: 0 / 0.9854 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7356, allocations: 330.8 kB / 0.9857 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.7358, allocations: 51.97 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.7359, allocations: 69.61 kB / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.7361, allocations: 55.92 kB / 0.9859 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7361, allocations: 0 / 0.9859 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003376/0.7364, allocations: 161.5 kB / 0.9861 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.7365, allocations: 4 kB / 0.9861 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.7365, allocations: 384 / 0.9861 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.7365, allocations: 0 / 0.9861 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.7367, allocations: 31.92 kB / 0.9861 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7367, allocations: 0 / 0.9861 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.7368, allocations: 24.02 kB / 0.9861 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.7368, allocations: 12 kB / 0.9861 GB, free: 0.8359 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.565e-05/0.7369, allocations: 121.7 kB / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.737, allocations: 11.91 kB / 0.9863 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.7374, allocations: 178.4 kB / 0.9864 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7374, allocations: 240 / 0.9864 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7374, allocations: 0 / 0.9864 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7374, allocations: 0 / 0.9864 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.7377, allocations: 225.5 kB / 0.9866 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.7377, allocations: 0 / 0.9866 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.7379, allocations: 27.92 kB / 0.9867 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7379, allocations: 4 kB / 0.9867 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.7379, allocations: 4 kB / 0.9867 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.7379, allocations: 3.984 kB / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7379, allocations: 0 / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.7383, allocations: 330.6 kB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.7384, allocations: 92.97 kB / 0.9871 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.7384, allocations: 0 / 0.9871 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.7386, allocations: 11.98 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.7387, allocations: 11.98 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.7387, allocations: 8 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.731e-05/0.7388, allocations: 121.8 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7388, allocations: 0 / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002973/0.7391, allocations: 31.94 kB / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0006755/0.7398, allocations: 0.8599 MB / 0.9881 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.7401, allocations: 119.9 kB / 0.9882 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7401, allocations: 0 / 0.9882 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.7403, allocations: 67.89 kB / 0.9883 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.7408, allocations: 40.05 kB / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.7423, allocations: 0.8277 MB / 0.9891 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.7425, allocations: 0.7048 MB / 0.9898 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.24e-05/0.7426, allocations: 16.64 kB / 0.9898 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.7427, allocations: 35.42 kB / 0.9899 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.7427, allocations: 0 / 0.9899 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.7567, allocations: 3.243 MB / 0.993 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.7569, allocations: 204.5 kB / 0.9932 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.478, allocations: 0 / 0.9932 GB, free: 9.551 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat