Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7715 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.02 kB / 1.118 GB, free: 40.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3339, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003/0.3369, allocations: 1.452 MB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3384, allocations: 1.139 MB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.3385, allocations: 4 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.625e-05/0.3386, allocations: 35.53 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.3388, allocations: 55.53 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.3391, allocations: 111.9 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.3395, allocations: 352.6 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.3398, allocations: 158.5 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.34, allocations: 143.4 kB / 1.288 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3402, allocations: 151.3 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.3403, allocations: 36 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3404, allocations: 47.94 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.3404, allocations: 83.7 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.3406, allocations: 167.1 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.3411, allocations: 486.1 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3411, allocations: 4 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3411, allocations: 4 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3411, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0008642/0.342, allocations: 0.5056 MB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.342, allocations: 8.031 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.628e-05/0.342, allocations: 13.19 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.024e-05/0.3421, allocations: 74.72 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.3423, allocations: 48.69 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.3429, allocations: 259.6 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.3429, allocations: 29.38 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.3429, allocations: 32.38 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.3435, allocations: 302.8 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3435, allocations: 0 / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.3436, allocations: 16 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3436, allocations: 8 kB / 1.29 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005665/0.3441, allocations: 235.8 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.3454, allocations: 0.7866 MB / 1.291 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.3459, allocations: 223.4 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.3461, allocations: 105.3 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.3462, allocations: 240 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3462, allocations: 42.8 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.072e-06/0.3462, allocations: 0 / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.000812/0.347, allocations: 315.5 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.3471, allocations: 55.41 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.3473, allocations: 203.7 kB / 1.292 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3473, allocations: 37.7 kB / 1.292 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3474, allocations: 176.5 kB / 1.292 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.381e-05/0.3475, allocations: 87.25 kB / 1.292 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3476, allocations: 73.92 kB / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3478, allocations: 330.8 kB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.348, allocations: 80.52 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.3483, allocations: 139.9 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.3487, allocations: 222.7 kB / 1.293 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3487, allocations: 0 / 1.293 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005879/0.3493, allocations: 278.2 kB / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3493, allocations: 4 kB / 1.293 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3493, allocations: 7.938 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3494, allocations: 4 kB / 1.293 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3496, allocations: 59.89 kB / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3496, allocations: 0 / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.3498, allocations: 32.09 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.3498, allocations: 16 kB / 1.293 GB, free: 2.301 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.35, allocations: 154.3 kB / 1.293 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.3501, allocations: 23.86 kB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.3507, allocations: 260.1 kB / 1.294 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3507, allocations: 4 kB / 1.294 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3507, allocations: 0 / 1.294 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3507, allocations: 0 / 1.294 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.3511, allocations: 328.4 kB / 1.294 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3511, allocations: 0 / 1.294 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.3513, allocations: 43.84 kB / 1.294 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3513, allocations: 4 kB / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.3513, allocations: 7.938 kB / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3513, allocations: 0 / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3513, allocations: 4 kB / 1.294 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.3519, allocations: 327.3 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.3519, allocations: 19.8 kB / 1.294 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.352, allocations: 11.94 kB / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3521, allocations: 11.98 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.3522, allocations: 27.95 kB / 1.294 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3522, allocations: 12 kB / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001255/0.3523, allocations: 133.5 kB / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3523, allocations: 0 / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003099/0.3526, allocations: 59.84 kB / 1.294 GB, free: 0.8281 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009428/0.3536, allocations: 0.8846 MB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005457/0.3541, allocations: 203.8 kB / 1.296 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3541, allocations: 448 / 1.296 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.3544, allocations: 111.8 kB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3547, allocations: 31.92 kB / 1.296 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.3581, allocations: 2.403 MB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.3585, allocations: 0.7675 MB / 1.299 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.3586, allocations: 34.28 kB / 1.299 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.3588, allocations: 95.41 kB / 1.299 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/0.3588, allocations: 0 / 1.299 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.3852, allocations: 4.359 MB / 1.303 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.07, allocations: 18.58 kB / 1.303 GB, free: 7.957 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.69580553798005] Failed to read output from testmodel.py, exit status != 0: 12.742217735969462 12.265728408 11.919644307 Calling exit ...