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.ActiveAirFlow.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.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",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.184/2.184, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001318/0.001318, allocations: 180.1 kB / 492.3 MB, free: 0.6133 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.431/1.431, allocations: 221.3 MB / 0.7872 GB, free: 12.86 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.001129/0.001128, allocations: 87.89 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.648e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2313, allocations: 142.4 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7856/1.017, allocations: 150.8 MB / 1.36 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/1.017, allocations: 80.06 kB / 1.36 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01001/1.027, allocations: 4.37 MB / 1.364 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/1.027, allocations: 0 / 1.364 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.027, allocations: 3.875 kB / 1.364 GB, free: 34.42 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0005312/1.028, allocations: 0.5119 MB / 1.365 GB, free: 34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.028, allocations: 7.688 kB / 1.365 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.205e-05/1.028, allocations: 68.33 kB / 1.365 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/1.028, allocations: 42.56 kB / 1.365 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.028, allocations: 212.5 kB / 1.365 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/1.028, allocations: 25.91 kB / 1.365 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/1.028, allocations: 29.38 kB / 1.365 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/1.029, allocations: 269 kB / 1.365 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.029, allocations: 0 / 1.365 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/1.029, allocations: 17.84 kB / 1.365 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.029, allocations: 7.656 kB / 1.365 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/1.029, allocations: 210.4 kB / 1.365 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/1.03, allocations: 0.8738 MB / 1.366 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/1.03, allocations: 228 kB / 1.367 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/1.031, allocations: 104 kB / 1.367 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/1.031, allocations: 7.797 kB / 1.367 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.031, allocations: 41.91 kB / 1.367 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.432e-06/1.031, allocations: 0 / 1.367 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0003751/1.031, allocations: 200.9 kB / 1.367 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/1.031, allocations: 55.31 kB / 1.367 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/1.031, allocations: 213.9 kB / 1.367 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/1.031, allocations: 28.7 kB / 1.367 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/1.031, allocations: 167.9 kB / 1.367 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/1.031, allocations: 73.62 kB / 1.367 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/1.031, allocations: 2.625 kB / 1.367 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.032, allocations: 334 kB / 1.368 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/1.032, allocations: 65.22 kB / 1.368 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/1.032, allocations: 72.53 kB / 1.368 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/1.032, allocations: 50.06 kB / 1.368 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.032, allocations: 4 kB / 1.368 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002927/1.032, allocations: 214.6 kB / 1.368 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.032, allocations: 7.766 kB / 1.368 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.032, allocations: 0 / 1.368 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/1.032, allocations: 3.906 kB / 1.368 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/1.033, allocations: 41.8 kB / 1.368 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.033, allocations: 3.875 kB / 1.368 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.033, allocations: 34.16 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/1.033, allocations: 10.91 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 9.211e-05/1.033, allocations: 117 kB / 1.368 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/1.033, allocations: 19.41 kB / 1.368 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/1.033, allocations: 233.5 kB / 1.369 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.033, allocations: 3.688 kB / 1.369 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.033, allocations: 0 / 1.369 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.033, allocations: 4 kB / 1.369 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/1.034, allocations: 368.5 kB / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.034, allocations: 0 / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/1.034, allocations: 47.64 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.034, allocations: 0 / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/1.034, allocations: 3.75 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.034, allocations: 7.859 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.034, allocations: 0 / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/1.034, allocations: 312.4 kB / 1.369 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/1.034, allocations: 97.67 kB / 1.369 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/1.034, allocations: 3.75 kB / 1.369 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/1.034, allocations: 22.78 kB / 1.369 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/1.034, allocations: 31.56 kB / 1.369 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/1.034, allocations: 7.828 kB / 1.369 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001252/1.035, allocations: 162.7 kB / 1.37 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.035, allocations: 4 kB / 1.37 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002773/1.035, allocations: 60.5 kB / 1.37 GB, free: 31.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006071/1.036, allocations: 0.8556 MB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002647/1.036, allocations: 177.3 kB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.036, allocations: 7.938 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/1.036, allocations: 98.98 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/1.036, allocations: 35.25 kB / 1.371 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/1.037, allocations: 393 kB / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/1.037, allocations: 0.7673 MB / 1.372 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001149/1.037, allocations: 29.45 kB / 1.372 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/1.038, allocations: 93.7 kB / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/1.038, allocations: 0 / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/1.053, allocations: 4.365 MB / 1.376 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/1.053, allocations: 195.5 kB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.778, allocations: 5.375 kB / 1.376 GB, free: 29.51 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat