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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.3/2.3, allocations: 390.3 MB / 402.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.0009259, allocations: 95.88 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.079e-05/5.107e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2871, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8862/1.173, allocations: 151.4 MB / 1.367 GB, free: 2.566 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/1.174, allocations: 79.12 kB / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01118/1.185, allocations: 3.892 MB / 1.371 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.954e-06/1.185, allocations: 0 / 1.371 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.185, allocations: 4 kB / 1.371 GB, free: 15.14 MB / 0.8386 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.0007908/1.186, allocations: 0.5037 MB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.186, allocations: 12.03 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/1.186, allocations: 48.3 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/1.186, allocations: 23.72 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/1.186, allocations: 199.4 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/1.186, allocations: 14.88 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/1.186, allocations: 26.36 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/1.186, allocations: 193.3 kB / 1.372 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/1.186, allocations: 0 / 1.372 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/1.186, allocations: 7.375 kB / 1.372 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/1.186, allocations: 4 kB / 1.372 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/1.187, allocations: 116.4 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/1.188, allocations: 0.6845 MB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/1.188, allocations: 146.8 kB / 1.373 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/1.188, allocations: 67.78 kB / 1.373 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/1.188, allocations: 0 / 1.373 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/1.188, allocations: 139.4 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/1.188, allocations: 0 / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003283/1.189, allocations: 170.4 kB / 1.373 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/1.189, allocations: 85.09 kB / 1.373 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/1.189, allocations: 162.6 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/1.189, allocations: 29.33 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/1.189, allocations: 135 kB / 1.373 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/1.189, allocations: 46.8 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/1.189, allocations: 0 / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.189, allocations: 333.4 kB / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/1.189, allocations: 69.69 kB / 1.374 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/1.189, allocations: 91.98 kB / 1.374 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/1.19, allocations: 89.16 kB / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.19, allocations: 0 / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003956/1.19, allocations: 244.2 kB / 1.374 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/1.19, allocations: 45.02 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.19, allocations: 4.062 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.19, allocations: 4 kB / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/1.19, allocations: 43.95 kB / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.19, allocations: 3.938 kB / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/1.191, allocations: 67.23 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/1.191, allocations: 11.98 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 8.844e-05/1.191, allocations: 115.2 kB / 1.374 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/1.191, allocations: 11.91 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/1.191, allocations: 27.66 kB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.191, allocations: 4 kB / 1.374 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.191, allocations: 0 / 1.374 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.191, allocations: 0 / 1.374 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/1.191, allocations: 284.4 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.191, allocations: 3.938 kB / 1.375 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/1.191, allocations: 51.89 kB / 1.375 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.191, allocations: 0 / 1.375 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/1.191, allocations: 7.75 kB / 1.375 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/1.191, allocations: 3.953 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.191, allocations: 0 / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/1.192, allocations: 202.7 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/1.192, allocations: 88.92 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/1.192, allocations: 7.391 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/1.192, allocations: 35.28 kB / 1.375 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/1.192, allocations: 19.78 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/1.192, allocations: 11.8 kB / 1.375 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.707e-05/1.192, allocations: 127.1 kB / 1.375 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.192, allocations: 3.938 kB / 1.375 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002506/1.192, allocations: 54.62 kB / 1.375 GB, free: 10.63 MB / 0.8386 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.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete 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.0006294/1.193, allocations: 0.8239 MB / 1.376 GB, free: 9.812 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003676/1.193, allocations: 219.3 kB / 1.376 GB, free: 9.641 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.193, allocations: 0 / 1.376 GB, free: 9.641 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/1.194, allocations: 75.61 kB / 1.376 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/1.194, allocations: 23.08 kB / 1.376 GB, free: 9.574 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/1.194, allocations: 288.5 kB / 1.377 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/1.195, allocations: 0.7321 MB / 1.377 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.324e-05/1.195, allocations: 16.77 kB / 1.377 GB, free: 8.512 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/1.195, allocations: 61.66 kB / 1.378 GB, free: 8.492 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.195, allocations: 3.938 kB / 1.378 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/1.215, allocations: 4.136 MB / 1.382 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/1.215, allocations: 196.2 kB / 1.382 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.843, allocations: 0 / 1.382 GB, free: 4.359 MB / 0.8386 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) 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