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.255/2.255, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001077/0.001077, allocations: 173.1 kB / 498.1 MB, free: 5.738 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.412/1.412, allocations: 223.1 MB / 0.7948 GB, free: 17.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.0008917/0.0008916, allocations: 86.84 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 10.44 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3035, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.4837, allocations: 150.1 MB / 1.37 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.4839, allocations: 71.95 kB / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006597/0.4905, allocations: 2.423 MB / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4906, allocations: 0 / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.4906, allocations: 4 kB / 1.372 GB, free: 9.406 MB / 0.8698 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.0006234/0.4912, allocations: 443 kB / 1.372 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4913, allocations: 12.03 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.4914, allocations: 46.55 kB / 1.372 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.4914, allocations: 19.77 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.4916, allocations: 182.8 kB / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.4916, allocations: 8.281 kB / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.4916, allocations: 12 kB / 1.373 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.492, allocations: 167.8 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.492, allocations: 0 / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.492, allocations: 4 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4921, allocations: 7.938 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.4924, allocations: 144.7 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.4931, allocations: 0.4927 MB / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.4935, allocations: 118.6 kB / 1.374 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.4935, allocations: 7.984 kB / 1.374 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.4935, allocations: 34.62 kB / 1.374 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.4935, allocations: 0 / 1.374 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0006185/0.4942, allocations: 205.6 kB / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.4942, allocations: 59.36 kB / 1.374 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.4944, allocations: 147.3 kB / 1.374 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.4944, allocations: 29.7 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.4945, allocations: 119.9 kB / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.4945, allocations: 27.56 kB / 1.374 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.4946, allocations: 0 / 1.374 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4947, allocations: 326.8 kB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4949, allocations: 47.97 kB / 1.375 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.495, allocations: 59.89 kB / 1.375 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.4952, allocations: 48.62 kB / 1.375 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4952, allocations: 0 / 1.375 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003775/0.4956, allocations: 157.4 kB / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.4956, allocations: 4 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4956, allocations: 0 / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-05/0.4957, allocations: 7.984 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.4959, allocations: 23.98 kB / 1.375 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.4959, allocations: 0 / 1.375 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.496, allocations: 27.78 kB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.4961, allocations: 4 kB / 1.375 GB, free: 6.238 MB / 0.8698 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 () * Number of clocked 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.0001295/0.4962, allocations: 125.8 kB / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.4962, allocations: 7.906 kB / 1.375 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.4963, allocations: 24.7 kB / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4963, allocations: 0 / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4963, allocations: 4 kB / 1.375 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4963, allocations: 7.984 kB / 1.375 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.4966, allocations: 237.5 kB / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4966, allocations: 0 / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.4968, allocations: 27.97 kB / 1.375 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4968, allocations: 4 kB / 1.375 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4968, allocations: 0 / 1.375 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4968, allocations: 4 kB / 1.375 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4968, allocations: 0 / 1.375 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.4972, allocations: 267.1 kB / 1.376 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.4973, allocations: 89 kB / 1.376 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.4973, allocations: 0 / 1.376 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.4975, allocations: 15.98 kB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.4976, allocations: 15.98 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.4976, allocations: 7.984 kB / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001118/0.4977, allocations: 115.9 kB / 1.376 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4977, allocations: 4 kB / 1.376 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002838/0.498, allocations: 31.84 kB / 1.376 GB, free: 5.172 MB / 0.8698 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 () * Number of clocked 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.0008206/0.4988, allocations: 0.7979 MB / 1.377 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.4992, allocations: 127.9 kB / 1.377 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4993, allocations: 0 / 1.377 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.4994, allocations: 71.89 kB / 1.377 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.4998, allocations: 8 kB / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.5014, allocations: 0.8795 MB / 1.378 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.5017, allocations: 0.7158 MB / 1.378 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.502e-05/0.5018, allocations: 12.55 kB / 1.378 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.5019, allocations: 43.42 kB / 1.378 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/0.5019, allocations: 0 / 1.378 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.517, allocations: 2.674 MB / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.5172, allocations: 237.6 kB / 1.381 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.16, allocations: 0 / 1.381 GB, free: 15.72 MB / 0.8855 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