Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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.00167/0.00167, allocations: 112.7 kB / 19.73 MB, free: 2.242 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.00213/0.00213, allocations: 215.3 kB / 23.04 MB, free: 5.078 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.186/3.186, allocations: 0.49 GB / 0.7959 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Overrides,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",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.002274/0.002274, allocations: 64.3 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3407, allocations: 176.1 MB / 1.327 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002827/0.3435, allocations: 1.144 MB / 1.328 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3454, allocations: 1.295 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.3455, allocations: 4 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.729e-05/0.3456, allocations: 19.73 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3457, allocations: 31.67 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.3463, allocations: 188.7 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.3466, allocations: 263.9 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.3468, allocations: 84.28 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.3469, allocations: 107.7 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.3471, allocations: 123.5 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.3472, allocations: 28 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.3472, allocations: 47.92 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.3473, allocations: 51.84 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.3474, allocations: 115.4 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.3478, allocations: 327 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3478, allocations: 3.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3478, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3478, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 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.0008985/0.3487, allocations: 479 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3488, allocations: 12.03 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.792e-05/0.3488, allocations: 4.188 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.342e-05/0.3488, allocations: 50.73 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.3489, allocations: 28.75 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.3496, allocations: 255.6 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.3496, allocations: 16.38 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.3497, allocations: 20.38 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.3501, allocations: 219.8 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3502, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.3502, allocations: 8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3502, allocations: 11.98 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.3507, allocations: 156.4 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008844/0.3516, allocations: 0.597 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.352, allocations: 149.1 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.3522, allocations: 77.75 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3522, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/0.3527, allocations: 160.8 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 2.374e-06/0.3527, allocations: 0 / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0008737/0.3536, allocations: 257.4 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3536, allocations: 85.05 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3538, allocations: 175.4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.3538, allocations: 33.7 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3539, allocations: 128.5 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.354, allocations: 47.64 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3541, allocations: 61.62 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3542, allocations: 326.8 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.3545, allocations: 87.89 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.3548, allocations: 123.1 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.3554, allocations: 214.6 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3554, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007591/0.3561, allocations: 291.4 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.3562, allocations: 33.7 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.3562, allocations: 7.938 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3562, allocations: 3.938 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.3564, allocations: 35.95 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3565, allocations: 7.938 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.3567, allocations: 51.97 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.3568, allocations: 8 kB / 1.334 GB, free: 9.633 MB / 1.029 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,heaOff.y,$PRE.heaOff.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.3569, allocations: 143 kB / 1.335 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.3569, allocations: 15.91 kB / 1.335 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.357, allocations: 21.34 kB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.357, allocations: 8 kB / 1.335 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.357, allocations: 0 / 1.335 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.357, allocations: 0 / 1.335 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.3573, allocations: 236.6 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3573, allocations: 320 / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.3575, allocations: 39.91 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.3575, allocations: 0 / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.3575, allocations: 7.938 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3575, allocations: 0 / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3575, allocations: 3.984 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.3581, allocations: 227.3 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.3581, allocations: 15.91 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.3581, allocations: 11.92 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.3582, allocations: 15.98 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/0.3583, allocations: 23.97 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3583, allocations: 4 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001047/0.3585, allocations: 127.5 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3585, allocations: 0 / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002904/0.3587, allocations: 47.89 kB / 1.335 GB, free: 8.629 MB / 1.029 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 (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.0009826/0.3597, allocations: 0.7731 MB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006814/0.3604, allocations: 243.1 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3604, allocations: 0 / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.3607, allocations: 79.88 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.361, allocations: 33.73 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.3643, allocations: 2.117 MB / 1.339 GB, free: 5.215 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.3646, allocations: 0.7361 MB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.3647, allocations: 25.47 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3649, allocations: 71.36 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.3649, allocations: 0 / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.3924, allocations: 4.69 MB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.02, allocations: 9.672 kB / 1.344 GB, free: 15.88 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.743284829019103] Failed to read output from testmodel.py, exit status != 0: 12.186834066000301 12.203361026 11.852338416 Calling exit ...