Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.161/2.161, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.0009978/0.0009979, allocations: 180.9 kB / 492.3 MB, free: 0.6211 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.434/1.434, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009083/0.0009085, allocations: 102.1 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.911e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2748, allocations: 142.3 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8622/1.137, allocations: 150.6 MB / 1.36 GB, free: 18.71 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.137, allocations: 80.97 kB / 1.36 GB, free: 18.71 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01102/1.148, allocations: 3.895 MB / 1.364 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.148, allocations: 0 / 1.364 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.458e-05/1.148, allocations: 3.844 kB / 1.364 GB, free: 34.18 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.0007714/1.149, allocations: 0.5004 MB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/1.149, allocations: 10.39 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.57e-05/1.149, allocations: 52.67 kB / 1.364 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/1.149, allocations: 23.41 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/1.15, allocations: 202.6 kB / 1.364 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/1.15, allocations: 14.53 kB / 1.364 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/1.15, allocations: 18.56 kB / 1.364 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/1.15, allocations: 195.7 kB / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.15, allocations: 0 / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/1.15, allocations: 6.188 kB / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.15, allocations: 7.719 kB / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/1.15, allocations: 114.9 kB / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/1.151, allocations: 0.6835 MB / 1.365 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/1.151, allocations: 134.3 kB / 1.365 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/1.151, allocations: 68.5 kB / 1.365 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/1.151, allocations: 2.859 kB / 1.365 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/1.152, allocations: 142.8 kB / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/1.152, allocations: 0 / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003033/1.152, allocations: 155.7 kB / 1.366 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/1.152, allocations: 84.45 kB / 1.366 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/1.152, allocations: 169.3 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/1.152, allocations: 29.61 kB / 1.366 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/1.152, allocations: 137.1 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/1.152, allocations: 48.7 kB / 1.366 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/1.152, allocations: 3.812 kB / 1.366 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/1.152, allocations: 327.2 kB / 1.367 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/1.152, allocations: 66.22 kB / 1.367 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/1.153, allocations: 93.95 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/1.153, allocations: 99.08 kB / 1.367 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.153, allocations: 0 / 1.367 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003596/1.153, allocations: 237.3 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/1.153, allocations: 39.23 kB / 1.367 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.153, allocations: 7.922 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/1.153, allocations: 0 / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/1.153, allocations: 51.86 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.153, allocations: 3.188 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/1.154, allocations: 67.86 kB / 1.367 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/1.154, allocations: 11.12 kB / 1.367 GB, free: 31.97 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 7.963e-05/1.154, allocations: 118 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/1.154, allocations: 15.69 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/1.154, allocations: 17.16 kB / 1.367 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.154, allocations: 10.75 kB / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.154, allocations: 0 / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.154, allocations: 7.875 kB / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/1.154, allocations: 277.8 kB / 1.368 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.154, allocations: 0 / 1.368 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/1.154, allocations: 47.41 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/1.154, allocations: 3.844 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/1.154, allocations: 0 / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.154, allocations: 3.844 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.154, allocations: 7.953 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/1.155, allocations: 205.2 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/1.155, allocations: 88.61 kB / 1.368 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/1.155, allocations: 10.25 kB / 1.368 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/1.155, allocations: 36.81 kB / 1.368 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/1.155, allocations: 20.62 kB / 1.368 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/1.155, allocations: 7.812 kB / 1.368 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.605e-05/1.155, allocations: 127 kB / 1.368 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.155, allocations: 0 / 1.368 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002401/1.155, allocations: 49.66 kB / 1.368 GB, free: 31.34 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.000538/1.156, allocations: 0.8248 MB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000289/1.156, allocations: 215 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.156, allocations: 0 / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/1.156, allocations: 80.62 kB / 1.369 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/1.157, allocations: 33.2 kB / 1.369 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/1.157, allocations: 280.3 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/1.157, allocations: 0.7408 MB / 1.37 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.271e-05/1.157, allocations: 19.14 kB / 1.37 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.546e-05/1.158, allocations: 63.12 kB / 1.37 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.158, allocations: 0 / 1.37 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/1.172, allocations: 4.12 MB / 1.374 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.172, allocations: 197.2 kB / 1.375 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.867, allocations: 0 / 1.375 GB, free: 29.14 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat