Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",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.415/2.415, allocations: 390.5 MB / 398 MB, free: 10.95 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.0015/0.0015, allocations: 180.8 kB / 491.2 MB, free: 1.566 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.62/1.62, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0008668/0.0008668, allocations: 83.92 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.042e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3848, allocations: 143 MB / 1.212 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.444, allocations: 150.1 MB / 1.359 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/1.444, allocations: 71.72 kB / 1.359 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007728/1.452, allocations: 2.419 MB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.545e-06/1.452, allocations: 0 / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.877e-05/1.452, allocations: 0 / 1.361 GB, free: 32.84 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.0006564/1.453, allocations: 424.3 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/1.453, allocations: 9.969 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/1.453, allocations: 14.5 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/1.453, allocations: 191.8 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/1.453, allocations: 3.312 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/1.453, allocations: 7.062 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002058/1.454, allocations: 87.2 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/1.454, allocations: 114.6 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.454, allocations: 3.938 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/1.454, allocations: 3.938 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.454, allocations: 8.516 kB / 1.362 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007986/1.455, allocations: 455.8 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/1.455, allocations: 97.38 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/1.455, allocations: 33.67 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/1.455, allocations: 3.875 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/1.455, allocations: 34.56 kB / 1.363 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/1.455, allocations: 0 / 1.363 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002729/1.455, allocations: 97.14 kB / 1.363 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/1.455, allocations: 52.91 kB / 1.363 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.455, allocations: 136.9 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.455, allocations: 25.7 kB / 1.363 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/1.456, allocations: 108.7 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/1.456, allocations: 30.17 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/1.456, allocations: 7.938 kB / 1.363 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.456, allocations: 325.2 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.862e-05/1.456, allocations: 25.25 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/1.456, allocations: 26.19 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/1.456, allocations: 21.55 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.456, allocations: 0 / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001564/1.456, allocations: 95.67 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.456, allocations: 7.688 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/1.456, allocations: 3.938 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.456, allocations: 0 / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/1.456, allocations: 29.81 kB / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.456, allocations: 3.844 kB / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/1.456, allocations: 18.94 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/1.456, allocations: 1.828 kB / 1.364 GB, free: 31.12 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 0.0001008/1.457, allocations: 111.2 kB / 1.364 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001606/1.457, allocations: 95.52 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/1.457, allocations: 11.72 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/1.457, allocations: 12.2 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.457, allocations: 7.797 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.457, allocations: 0 / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.457, allocations: 2.203 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/1.457, allocations: 201.1 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.457, allocations: 0 / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/1.457, allocations: 29.5 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.457, allocations: 7.875 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/1.457, allocations: 1.688 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.457, allocations: 0 / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.457, allocations: 0 / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/1.457, allocations: 201.3 kB / 1.365 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/1.458, allocations: 92.67 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/1.458, allocations: 1.969 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/1.458, allocations: 14.89 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/1.458, allocations: 18.55 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/1.458, allocations: 3.75 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.862e-05/1.458, allocations: 106.4 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.174e-05/1.458, allocations: 0 / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000248/1.458, allocations: 27.19 kB / 1.365 GB, free: 30.45 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.0005046/1.459, allocations: 0.74 MB / 1.366 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001553/1.459, allocations: 77.55 kB / 1.366 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.459, allocations: 3.938 kB / 1.366 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.706e-05/1.459, allocations: 38.69 kB / 1.366 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/1.459, allocations: 15.41 kB / 1.366 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/1.46, allocations: 212.2 kB / 1.366 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/1.46, allocations: 0.7186 MB / 1.367 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.689e-05/1.46, allocations: 9.625 kB / 1.367 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/1.46, allocations: 45.92 kB / 1.367 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.46, allocations: 3.938 kB / 1.367 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/1.483, allocations: 2.136 MB / 1.369 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.484, allocations: 200.3 kB / 1.369 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/3.087, allocations: 0 / 1.369 GB, free: 28.53 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat