Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",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.001142/0.001141, allocations: 91.69 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.001379/0.001379, 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.437/1.437, allocations: 223.3 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.562/2.562, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004119, allocations: 8 kB / 0.8378 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.7441, allocations: 146.8 MB / 0.9812 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.001357/0.7455, allocations: 0.799 MB / 0.982 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.7471, allocations: 1.21 MB / 0.9831 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.7472, allocations: 4 kB / 0.9832 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.7473, allocations: 11.86 kB / 0.9832 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.7474, allocations: 23.78 kB / 0.9832 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.748, allocations: 158.7 kB / 0.9833 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.7483, allocations: 231.9 kB / 0.9836 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.7485, allocations: 78.23 kB / 0.9836 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.7486, allocations: 79.67 kB / 0.9837 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.7488, allocations: 79.61 kB / 0.9838 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.7488, allocations: 8 kB / 0.9838 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.7489, allocations: 27.97 kB / 0.9838 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.7489, allocations: 35.84 kB / 0.9839 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.749, allocations: 53.64 kB / 0.9839 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.7493, allocations: 233.8 kB / 0.9841 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7493, allocations: 0 / 0.9841 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7493, allocations: 0 / 0.9841 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.7493, allocations: 0 / 0.9841 GB, free: 3.371 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008565/0.7502, allocations: 0.5236 MB / 0.9846 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.7502, allocations: 8.031 kB / 0.9846 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/0.7503, allocations: 50.55 kB / 0.9847 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.7504, allocations: 27.72 kB / 0.9847 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.7511, allocations: 307.3 kB / 0.985 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.7511, allocations: 20 kB / 0.985 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.7512, allocations: 20 kB / 0.9851 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.7516, allocations: 227.1 kB / 0.9853 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7517, allocations: 3.984 kB / 0.9853 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.7517, allocations: 8 kB / 0.9853 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.7517, allocations: 8 kB / 0.9853 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.7522, allocations: 171.8 kB / 0.9855 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008727/0.7531, allocations: 0.6562 MB / 0.9861 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.7535, allocations: 161.1 kB / 0.9862 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.7537, allocations: 93.7 kB / 0.9863 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.7538, allocations: 7.938 kB / 0.9863 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003763/0.7541, allocations: 154 kB / 0.9865 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.7541, allocations: 4 kB / 0.9865 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007909/0.7549, allocations: 269.3 kB / 0.9868 GB, free: 472 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.755, allocations: 85.05 kB / 0.9868 GB, free: 368 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.7552, allocations: 170.3 kB / 0.987 GB, free: 188 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.7552, allocations: 33.7 kB / 0.987 GB, free: 148 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.7553, allocations: 136.2 kB / 0.9872 GB, free: 8 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.7554, allocations: 51.44 kB / 0.9872 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.7554, allocations: 4 kB / 0.9872 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7555, allocations: 330.8 kB / 0.9875 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.7558, allocations: 84.12 kB / 0.9876 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.7561, allocations: 134 kB / 0.9877 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.7564, allocations: 121.6 kB / 0.9878 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7564, allocations: 0 / 0.9878 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006607/0.757, allocations: 295 kB / 0.9881 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.7571, allocations: 37.81 kB / 0.9882 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7571, allocations: 8 kB / 0.9882 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7571, allocations: 0 / 0.9882 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.7573, allocations: 47.91 kB / 0.9882 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.7573, allocations: 0 / 0.9882 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.7576, allocations: 63.8 kB / 0.9883 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.7577, allocations: 19.94 kB / 0.9883 GB, free: 14.79 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: 10 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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.0001323/0.7578, allocations: 135.3 kB / 0.9884 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.7578, allocations: 15.81 kB / 0.9884 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.7579, allocations: 17.41 kB / 0.9885 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.7579, allocations: 4 kB / 0.9885 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7579, allocations: 0 / 0.9885 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7579, allocations: 3.984 kB / 0.9885 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.7582, allocations: 269.4 kB / 0.9887 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.7582, allocations: 4.312 kB / 0.9887 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.7584, allocations: 31.97 kB / 0.9888 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.7584, allocations: 4 kB / 0.9888 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.7584, allocations: 11.98 kB / 0.9888 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7584, allocations: 4 kB / 0.9888 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7584, allocations: 0 / 0.9888 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.7589, allocations: 245.6 kB / 0.989 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.759, allocations: 88.92 kB / 0.9891 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.759, allocations: 7.938 kB / 0.9891 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.7592, allocations: 15.98 kB / 0.9891 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.7592, allocations: 27.97 kB / 0.9891 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.7593, allocations: 11.98 kB / 0.9892 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.954e-05/0.7593, allocations: 117.7 kB / 0.9893 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7593, allocations: 0 / 0.9893 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002822/0.7596, allocations: 51.84 kB / 0.9893 GB, free: 13.65 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: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0008766/0.7605, allocations: 0.7941 MB / 0.9901 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.7612, allocations: 275.3 kB / 0.9904 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7612, allocations: 0 / 0.9904 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.7615, allocations: 95.88 kB / 0.9905 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.7617, allocations: 28.11 kB / 0.9905 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.7637, allocations: 1.114 MB / 0.9916 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.764, allocations: 0.736 MB / 0.9923 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.7642, allocations: 29.53 kB / 0.9923 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.7643, allocations: 59.41 kB / 0.9924 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.7643, allocations: 0 / 0.9924 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.7791, allocations: 3.935 MB / 0.9962 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.7793, allocations: 240 kB / 0.9964 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.614, allocations: 1.875 kB / 0.9964 GB, free: 6.469 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat