Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.143/2.143, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001004/0.001004, allocations: 184.4 kB / 487.4 MB, free: 5.055 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.404/1.404, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008979/0.000898, allocations: 97.34 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.209e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2429, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.868/1.111, allocations: 149.3 MB / 1.352 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.111, allocations: 74.52 kB / 1.352 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007038/1.118, allocations: 2.417 MB / 1.354 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.714e-06/1.118, allocations: 0 / 1.354 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.558e-06/1.118, allocations: 3.844 kB / 1.354 GB, free: 33.76 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005888/1.119, allocations: 414.6 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.119, allocations: 12.41 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/1.119, allocations: 15.44 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.119, allocations: 190.9 kB / 1.355 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/1.119, allocations: 3.844 kB / 1.355 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/1.119, allocations: 7.688 kB / 1.355 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001736/1.119, allocations: 92.55 kB / 1.355 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/1.12, allocations: 110.2 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.12, allocations: 0 / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/1.12, allocations: 0.8906 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.12, allocations: 3.875 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/1.12, allocations: 460.7 kB / 1.356 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/1.12, allocations: 95.12 kB / 1.356 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/1.121, allocations: 31.47 kB / 1.356 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/1.121, allocations: 3.844 kB / 1.356 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/1.121, allocations: 35.23 kB / 1.356 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/1.121, allocations: 0 / 1.356 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002275/1.121, allocations: 96.84 kB / 1.356 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/1.121, allocations: 55.34 kB / 1.356 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.121, allocations: 138.8 kB / 1.356 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/1.121, allocations: 29.7 kB / 1.356 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/1.121, allocations: 111.1 kB / 1.356 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/1.121, allocations: 32.62 kB / 1.356 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/1.121, allocations: 0 / 1.356 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.121, allocations: 317.9 kB / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/1.121, allocations: 27.48 kB / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/1.121, allocations: 27.59 kB / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/1.121, allocations: 25.14 kB / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.121, allocations: 0.6094 kB / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001321/1.122, allocations: 99.09 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/1.122, allocations: 3.875 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.122, allocations: 0.8906 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.122, allocations: 3.812 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.122, allocations: 28.69 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.122, allocations: 0.5625 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/1.122, allocations: 22.62 kB / 1.357 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/1.122, allocations: 4.656 kB / 1.357 GB, free: 32.05 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.315e-05/1.122, allocations: 109.5 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001535/1.122, allocations: 104 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/1.122, allocations: 11.66 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/1.122, allocations: 13.52 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.122, allocations: 0.7031 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.122, allocations: 4.828 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.122, allocations: 4.672 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/1.122, allocations: 201.9 kB / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.122, allocations: 0 / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/1.123, allocations: 21.31 kB / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.123, allocations: 3.844 kB / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.123, allocations: 5.266 kB / 1.357 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.123, allocations: 0 / 1.357 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.123, allocations: 0 / 1.357 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/1.123, allocations: 203.1 kB / 1.357 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/1.123, allocations: 93.91 kB / 1.358 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/1.123, allocations: 4.734 kB / 1.358 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/1.123, allocations: 14.3 kB / 1.358 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/1.123, allocations: 17.88 kB / 1.358 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/1.123, allocations: 0 / 1.358 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.346e-05/1.123, allocations: 110 kB / 1.358 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.123, allocations: 0 / 1.358 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002307/1.123, allocations: 31.34 kB / 1.358 GB, free: 31.37 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004757/1.124, allocations: 0.7333 MB / 1.358 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000149/1.124, allocations: 77.17 kB / 1.358 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.124, allocations: 0 / 1.358 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.668e-05/1.124, allocations: 51.02 kB / 1.359 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/1.124, allocations: 8.312 kB / 1.359 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/1.125, allocations: 201.8 kB / 1.359 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/1.125, allocations: 0.7219 MB / 1.359 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.184e-05/1.125, allocations: 10.84 kB / 1.359 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/1.125, allocations: 44.3 kB / 1.359 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.125, allocations: 0 / 1.359 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/1.146, allocations: 2.136 MB / 1.362 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/1.146, allocations: 193.2 kB / 1.362 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.845, allocations: 2.906 kB / 1.362 GB, free: 29.52 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat