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.224/2.224, 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.00102/0.00102, allocations: 180.9 kB / 492.3 MB, free: 0.6094 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.462/1.462, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009299/0.0009298, allocations: 101.7 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.094e-05, allocations: 7.984 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2714, allocations: 142.3 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8707/1.142, allocations: 150 MB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/1.142, allocations: 77.56 kB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007312/1.15, allocations: 2.43 MB / 1.361 GB, free: 34.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.224e-06/1.15, allocations: 7.938 kB / 1.361 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.37e-05/1.15, allocations: 3.906 kB / 1.361 GB, free: 34.64 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.0005392/1.15, allocations: 417.3 kB / 1.362 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/1.15, allocations: 7.594 kB / 1.362 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.107e-05/1.151, allocations: 44.77 kB / 1.362 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/1.151, allocations: 19.34 kB / 1.362 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/1.151, allocations: 197.3 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.151, allocations: 7.406 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/1.151, allocations: 11.34 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/1.151, allocations: 130 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.151, allocations: 0 / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/1.151, allocations: 7.344 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.151, allocations: 3.812 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/1.151, allocations: 86 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/1.152, allocations: 0.5005 MB / 1.363 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/1.152, allocations: 99.03 kB / 1.363 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/1.152, allocations: 41.75 kB / 1.363 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/1.152, allocations: 3.844 kB / 1.363 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/1.152, allocations: 30.56 kB / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/1.152, allocations: 0 / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002735/1.153, allocations: 110.3 kB / 1.363 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/1.153, allocations: 59.17 kB / 1.363 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.153, allocations: 148.9 kB / 1.363 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.153, allocations: 29.64 kB / 1.363 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/1.153, allocations: 114.1 kB / 1.363 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/1.153, allocations: 35.23 kB / 1.363 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/1.153, allocations: 0 / 1.363 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.153, allocations: 322.1 kB / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-05/1.153, allocations: 26.53 kB / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/1.153, allocations: 31.28 kB / 1.364 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.781e-05/1.153, allocations: 28.39 kB / 1.364 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.153, allocations: 4 kB / 1.364 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001715/1.154, allocations: 98.97 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.154, allocations: 7.812 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.154, allocations: 4 kB / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.154, allocations: 0 / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/1.154, allocations: 29.56 kB / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/1.154, allocations: 3.906 kB / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/1.154, allocations: 26.8 kB / 1.364 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/1.154, allocations: 3.906 kB / 1.364 GB, free: 32.85 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.523e-05/1.154, allocations: 109.6 kB / 1.364 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/1.154, allocations: 11.41 kB / 1.364 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/1.154, allocations: 17.41 kB / 1.364 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.154, allocations: 0 / 1.364 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.154, allocations: 0 / 1.364 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.154, allocations: 1.734 kB / 1.364 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/1.154, allocations: 244.5 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.154, allocations: 4 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/1.155, allocations: 28 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.155, allocations: 9.484 kB / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/1.155, allocations: 0 / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.155, allocations: 0 / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.155, allocations: 0 / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/1.155, allocations: 206.2 kB / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/1.155, allocations: 92.8 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/1.155, allocations: 5.266 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/1.155, allocations: 14.3 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/1.155, allocations: 18.22 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/1.155, allocations: 3.844 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.211e-05/1.155, allocations: 118.8 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.155, allocations: 0 / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002399/1.155, allocations: 36.05 kB / 1.365 GB, free: 32.2 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.0005249/1.156, allocations: 0.7573 MB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001649/1.156, allocations: 77.45 kB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.156, allocations: 0 / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/1.156, allocations: 44.36 kB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/1.156, allocations: 14.38 kB / 1.366 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/1.157, allocations: 221.6 kB / 1.366 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/1.157, allocations: 0.7171 MB / 1.367 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.87e-05/1.157, allocations: 15.52 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/1.157, allocations: 39.66 kB / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.157, allocations: 0 / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/1.171, allocations: 2.667 MB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/1.171, allocations: 210.1 kB / 1.37 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.904, allocations: 2.906 kB / 1.37 GB, free: 30.22 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