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.ActiveAirFlow.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.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",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.001203/0.001203, allocations: 103 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.001507/0.001507, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.523/2.523, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.395/4.395, allocations: 409.2 MB / 0.6838 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006034/0.0006035, allocations: 11.98 kB / 0.8376 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534/1.534, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002539/1.537, allocations: 1.045 MB / 0.9819 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002318/1.539, allocations: 1.061 MB / 0.983 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/1.54, allocations: 4 kB / 0.983 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.025e-05/1.54, allocations: 19.78 kB / 0.983 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/1.54, allocations: 27.91 kB / 0.983 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/1.54, allocations: 83.8 kB / 0.9831 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003753/1.541, allocations: 181 kB / 0.9833 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/1.541, allocations: 157.3 kB / 0.9834 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/1.541, allocations: 79.58 kB / 0.9835 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/1.542, allocations: 99.33 kB / 0.9836 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/1.542, allocations: 8 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.783e-05/1.542, allocations: 8 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/1.542, allocations: 39.84 kB / 0.9837 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/1.542, allocations: 69.52 kB / 0.9837 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004628/1.542, allocations: 357.2 kB / 0.9841 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.542, allocations: 4 kB / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.899e-06/1.542, allocations: 0 / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.415e-06/1.543, allocations: 0 / 0.9841 GB, free: 3.047 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001105/1.544, allocations: 0.5223 MB / 0.9846 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/1.544, allocations: 12.03 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/1.544, allocations: 66.53 kB / 0.9847 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.159e-05/1.544, allocations: 39.62 kB / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/1.545, allocations: 331.8 kB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/1.545, allocations: 32.59 kB / 0.985 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/1.545, allocations: 28 kB / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/1.546, allocations: 286 kB / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/1.546, allocations: 0 / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/1.546, allocations: 16 kB / 0.9854 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/1.546, allocations: 8 kB / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/1.547, allocations: 242.5 kB / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/1.548, allocations: 0.8114 MB / 0.9864 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/1.549, allocations: 232.3 kB / 0.9866 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/1.549, allocations: 12.42 kB / 0.9866 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/1.549, allocations: 46.52 kB / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/1.549, allocations: 0 / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.001105/1.551, allocations: 320.7 kB / 0.987 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/1.551, allocations: 59.41 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/1.551, allocations: 207.6 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/1.551, allocations: 29.7 kB / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/1.551, allocations: 176.2 kB / 0.9874 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/1.551, allocations: 82.83 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/1.551, allocations: 8 kB / 0.9875 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002649/1.552, allocations: 330.8 kB / 0.9878 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/1.552, allocations: 84.52 kB / 0.9879 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/1.552, allocations: 147.9 kB / 0.988 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/1.553, allocations: 83.98 kB / 0.9881 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.553, allocations: 0 / 0.9881 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007972/1.553, allocations: 285 kB / 0.9884 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/1.553, allocations: 9.625 kB / 0.9884 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.553, allocations: 0 / 0.9884 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.553, allocations: 4 kB / 0.9884 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/1.554, allocations: 63.89 kB / 0.9885 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.554, allocations: 4 kB / 0.9885 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/1.554, allocations: 23.84 kB / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/1.554, allocations: 11.98 kB / 0.9885 GB, free: 14.25 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: 13 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002334/1.554, allocations: 157.7 kB / 0.9887 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/1.554, allocations: 23.72 kB / 0.9887 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008607/1.555, allocations: 255.5 kB / 0.9889 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.555, allocations: 4 kB / 0.9889 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.555, allocations: 0 / 0.9889 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/1.555, allocations: 0 / 0.9889 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/1.556, allocations: 345.3 kB / 0.9893 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.556, allocations: 4 kB / 0.9893 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.556, allocations: 43.97 kB / 0.9893 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.556, allocations: 4 kB / 0.9893 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/1.556, allocations: 11.98 kB / 0.9893 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.556, allocations: 0 / 0.9893 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.556, allocations: 0 / 0.9893 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/1.557, allocations: 343.4 kB / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/1.557, allocations: 100.8 kB / 0.9897 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/1.557, allocations: 7.984 kB / 0.9897 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.558, allocations: 12 kB / 0.9898 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.558, allocations: 27.95 kB / 0.9898 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/1.558, allocations: 8 kB / 0.9898 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001814/1.558, allocations: 136.2 kB / 0.9899 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.558, allocations: 7.938 kB / 0.9899 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005042/1.559, allocations: 55.78 kB / 0.99 GB, free: 12.63 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: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001264/1.56, allocations: 0.8793 MB / 0.9908 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008196/1.561, allocations: 227.9 kB / 0.9911 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.561, allocations: 0 / 0.9911 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/1.561, allocations: 123.1 kB / 0.9912 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/1.561, allocations: 24.23 kB / 0.9912 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/1.566, allocations: 2.406 MB / 0.9936 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/1.566, allocations: 0.7715 MB / 0.9943 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002392/1.566, allocations: 38.27 kB / 0.9943 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/1.566, allocations: 95.41 kB / 0.9944 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/1.567, allocations: 0 / 0.9944 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/1.591, allocations: 3.986 MB / 0.9983 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/1.592, allocations: 236.3 kB / 0.9985 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/4.534, allocations: 2.062 kB / 0.9986 GB, free: 3.949 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat