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.28/2.28, allocations: 390.5 MB / 398 MB, free: 11 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.001127/0.001127, allocations: 175 kB / 491.2 MB, free: 1.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001081/0.001081, allocations: 95.89 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.552e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2628, allocations: 143 MB / 1.212 GB, free: 39.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8346/1.097, allocations: 150.8 MB / 1.36 GB, free: 17.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.098, allocations: 78.94 kB / 1.36 GB, free: 17.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01136/1.109, allocations: 3.868 MB / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.109, allocations: 0 / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.677e-05/1.109, allocations: 3.844 kB / 1.364 GB, free: 32.87 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.0009763/1.11, allocations: 0.5039 MB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.11, allocations: 11.66 kB / 1.364 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/1.11, allocations: 23.25 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/1.11, allocations: 196 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/1.111, allocations: 16.58 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/1.111, allocations: 15.5 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002597/1.111, allocations: 106.8 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/1.111, allocations: 164.2 kB / 1.365 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.111, allocations: 0 / 1.365 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/1.111, allocations: 0 / 1.365 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.111, allocations: 6.625 kB / 1.365 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009472/1.112, allocations: 0.6332 MB / 1.365 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/1.112, allocations: 132 kB / 1.365 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/1.112, allocations: 69.78 kB / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/1.112, allocations: 0 / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/1.113, allocations: 133.5 kB / 1.365 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/1.113, allocations: 0 / 1.365 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003137/1.113, allocations: 137.7 kB / 1.366 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/1.113, allocations: 81.05 kB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/1.113, allocations: 155.3 kB / 1.366 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/1.113, allocations: 29.2 kB / 1.366 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/1.113, allocations: 141.2 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/1.113, allocations: 43.52 kB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/1.113, allocations: 0 / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.114, allocations: 326.6 kB / 1.366 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/1.114, allocations: 57.72 kB / 1.366 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/1.114, allocations: 91.3 kB / 1.367 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/1.114, allocations: 64.42 kB / 1.367 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.114, allocations: 0 / 1.367 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004108/1.114, allocations: 203.1 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/1.114, allocations: 39.67 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.114, allocations: 0 / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.114, allocations: 11.89 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/1.115, allocations: 45.3 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.115, allocations: 10.62 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/1.115, allocations: 59.25 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/1.115, allocations: 13.11 kB / 1.367 GB, free: 30.8 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.946e-05/1.115, allocations: 109.9 kB / 1.367 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002014/1.115, allocations: 142.7 kB / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/1.115, allocations: 24.78 kB / 1.367 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/1.115, allocations: 17.36 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.115, allocations: 0 / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.115, allocations: 3.781 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.116, allocations: 1.781 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/1.116, allocations: 243 kB / 1.367 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.116, allocations: 0 / 1.367 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/1.116, allocations: 49.33 kB / 1.367 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.116, allocations: 3.938 kB / 1.367 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/1.116, allocations: 3.875 kB / 1.368 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/1.116, allocations: 3.953 kB / 1.368 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.116, allocations: 2.859 kB / 1.368 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/1.116, allocations: 192.1 kB / 1.368 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/1.116, allocations: 96.75 kB / 1.368 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/1.116, allocations: 6.859 kB / 1.368 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/1.116, allocations: 24.48 kB / 1.368 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/1.117, allocations: 23.33 kB / 1.368 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/1.117, allocations: 10.5 kB / 1.368 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.156e-05/1.117, allocations: 109.5 kB / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.117, allocations: 0 / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002646/1.117, allocations: 53.11 kB / 1.368 GB, free: 30.14 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.0005438/1.117, allocations: 0.8128 MB / 1.369 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002829/1.118, allocations: 205.4 kB / 1.369 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.118, allocations: 0 / 1.369 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/1.118, allocations: 71.78 kB / 1.369 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/1.118, allocations: 18.95 kB / 1.369 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/1.119, allocations: 286.3 kB / 1.369 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/1.119, allocations: 0.731 MB / 1.37 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.41e-05/1.119, allocations: 15.45 kB / 1.37 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.974e-05/1.119, allocations: 55.39 kB / 1.37 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.119, allocations: 0 / 1.37 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/1.159, allocations: 3.575 MB / 1.374 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/1.159, allocations: 186.8 kB / 1.374 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.79, allocations: 5.828 kB / 1.374 GB, free: 28.09 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