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.001946/0.001946, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002536/0.002536, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.621/1.621, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.077/3.077, allocations: 0.49 GB / 0.7923 GB, free: 1.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.002005/0.002005, allocations: 67.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9499/0.9519, allocations: 176.1 MB / 1.322 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002072/0.954, allocations: 1.15 MB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.9554, allocations: 1.284 MB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.9555, allocations: 2.625 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.48e-05/0.9555, allocations: 18.98 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.9557, allocations: 25.53 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.9562, allocations: 195.3 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.9564, allocations: 270 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.9566, allocations: 86 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.9567, allocations: 108 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.9568, allocations: 119.9 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.9569, allocations: 26.78 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.957, allocations: 44.52 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.957, allocations: 50.55 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.9571, allocations: 113.9 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.9574, allocations: 326.5 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.9574, allocations: 0 / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9574, allocations: 0 / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.9574, allocations: 0 / 1.325 GB, free: 22.39 MB / 1.061 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.0008275/0.9582, allocations: 0.5528 MB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.9582, allocations: 12.95 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.9583, allocations: 9.938 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.9583, allocations: 55.09 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.9584, allocations: 26.3 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.959, allocations: 301.9 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.959, allocations: 23.33 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.959, allocations: 18.66 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.9594, allocations: 209.5 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.9595, allocations: 0 / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.9595, allocations: 10.81 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.9595, allocations: 5.5 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.9599, allocations: 160.6 kB / 1.327 GB, free: 21.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.9606, allocations: 0.6395 MB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.961, allocations: 150 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.9612, allocations: 77.39 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.9613, allocations: 10.41 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.9617, allocations: 152.8 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.9617, allocations: 0 / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0008751/0.9626, allocations: 252.9 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.9626, allocations: 87.31 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.9628, allocations: 174.5 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.9628, allocations: 31.52 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.9629, allocations: 138.2 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.9629, allocations: 53.81 kB / 1.328 GB, free: 20.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.963, allocations: 63.17 kB / 1.328 GB, free: 20.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.9631, allocations: 326 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.9633, allocations: 79.27 kB / 1.329 GB, free: 19.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.9636, allocations: 127.3 kB / 1.329 GB, free: 19.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.9642, allocations: 213.9 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9642, allocations: 0 / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000728/0.9649, allocations: 290.2 kB / 1.329 GB, free: 19.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.9649, allocations: 33.06 kB / 1.329 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9649, allocations: 1.875 kB / 1.329 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.9649, allocations: 7.344 kB / 1.329 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.9652, allocations: 44.77 kB / 1.329 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.9652, allocations: 3.609 kB / 1.329 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.9655, allocations: 44.05 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.9655, allocations: 18.78 kB / 1.329 GB, free: 19.42 MB / 1.061 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.0001153/0.9657, allocations: 137.7 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.9657, allocations: 14.88 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.442e-05/0.9657, allocations: 27.08 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.9657, allocations: 2.859 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.9657, allocations: 0.7812 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.9658, allocations: 5.359 kB / 1.33 GB, free: 19.26 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.966, allocations: 260.9 kB / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.966, allocations: 4.562 kB / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.9662, allocations: 30.05 kB / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.9662, allocations: 1.375 kB / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.9662, allocations: 10.8 kB / 1.33 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.9662, allocations: 1.656 kB / 1.33 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.9662, allocations: 4.531 kB / 1.33 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006297/0.9669, allocations: 220.9 kB / 1.33 GB, free: 18.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.9669, allocations: 90.59 kB / 1.33 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.9669, allocations: 6.234 kB / 1.33 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.9671, allocations: 17.02 kB / 1.33 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.9671, allocations: 24.38 kB / 1.33 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.9672, allocations: 13.23 kB / 1.33 GB, free: 18.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.358e-05/0.9672, allocations: 118.5 kB / 1.33 GB, free: 18.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9672, allocations: 3.938 kB / 1.33 GB, free: 18.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002962/0.9675, allocations: 49.94 kB / 1.33 GB, free: 18.67 MB / 1.061 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.0008211/0.9684, allocations: 0.7805 MB / 1.331 GB, free: 18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007042/0.9691, allocations: 237.5 kB / 1.331 GB, free: 17.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9691, allocations: 0 / 1.331 GB, free: 17.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.9694, allocations: 85.23 kB / 1.332 GB, free: 17.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.9696, allocations: 32.38 kB / 1.332 GB, free: 17.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.9727, allocations: 2.121 MB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.9728, allocations: 0.7306 MB / 1.334 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.973, allocations: 25.84 kB / 1.334 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.9731, allocations: 61.34 kB / 1.334 GB, free: 15.55 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.9731, allocations: 0 / 1.334 GB, free: 15.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.9998, allocations: 4.547 MB / 1.339 GB, free: 14.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.826/9.826, allocations: 5.844 kB / 1.339 GB, free: 14.98 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.529323475027923] Failed to read output from testmodel.py, exit status != 0: 9.95487602200592 9.967878473 9.007854522 Calling exit ...