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.448/2.448, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001332/0.001331, allocations: 184 kB / 0.4901 GB, free: 2.25 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.54/1.54, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001039/0.001039, allocations: 108.7 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004147, allocations: 10.72 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.308, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1874/0.4954, allocations: 150.9 MB / 1.377 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.4957, allocations: 71.95 kB / 1.377 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006914/0.5027, allocations: 2.427 MB / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of FrontEnd: time 5.14e-06/0.5027, allocations: 0 / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.5027, allocations: 7.938 kB / 1.379 GB, free: 92 kB / 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.0006628/0.5034, allocations: 439 kB / 1.38 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5035, allocations: 8.562 kB / 1.38 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.17e-05/0.5036, allocations: 46.55 kB / 1.38 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.5036, allocations: 19.77 kB / 1.38 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.5038, allocations: 184.2 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.5038, allocations: 20.28 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.5038, allocations: 12 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.5042, allocations: 147.9 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.5042, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.5042, allocations: 8 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5042, allocations: 0 / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.5046, allocations: 144.7 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.5055, allocations: 0.4965 MB / 1.381 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.5058, allocations: 134.6 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.5059, allocations: 0 / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.5059, allocations: 34.5 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.5059, allocations: 0 / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.000635/0.5065, allocations: 209.7 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.5066, allocations: 55.36 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.5067, allocations: 156.4 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.5068, allocations: 29.7 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.5069, allocations: 112 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.5069, allocations: 23.62 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.5069, allocations: 4 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5071, allocations: 322.8 kB / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.5073, allocations: 59.89 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.5075, allocations: 51.97 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.5076, allocations: 47.91 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5077, allocations: 4 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003885/0.508, allocations: 149.4 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.5081, allocations: 8 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.5081, allocations: 0 / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5081, allocations: 4 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.5083, allocations: 19.98 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5083, allocations: 4 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5084, allocations: 27.81 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.5085, allocations: 7.938 kB / 1.382 GB, free: 12.93 MB / 0.8855 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.000125/0.5086, allocations: 125.8 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.5086, allocations: 15.81 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.5087, allocations: 12.72 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5087, allocations: 4 kB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5087, allocations: 0 / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.5087, allocations: 0 / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.509, allocations: 245.5 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.509, allocations: 4 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.5091, allocations: 23.98 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5092, allocations: 4 kB / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.5092, allocations: 0 / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5092, allocations: 3.984 kB / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5092, allocations: 4 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.5097, allocations: 263.9 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.5098, allocations: 84.92 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.5098, allocations: 8 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.51, allocations: 11.98 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.5101, allocations: 19.97 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.5101, allocations: 4 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001118/0.5102, allocations: 128.7 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5102, allocations: 3.938 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002818/0.5105, allocations: 23.94 kB / 1.383 GB, free: 11.86 MB / 0.8855 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.0009902/0.5115, allocations: 0.8105 MB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003901/0.5119, allocations: 123.9 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5119, allocations: 0 / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.5121, allocations: 67.91 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.5124, allocations: 19.98 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.5141, allocations: 0.8615 MB / 1.385 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.5145, allocations: 0.7158 MB / 1.385 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.44e-05/0.5146, allocations: 12.55 kB / 1.385 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.749e-05/0.5147, allocations: 39.42 kB / 1.385 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of SimCode: time 2.374e-06/0.5147, allocations: 4 kB / 1.386 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.5302, allocations: 2.674 MB / 1.388 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.5305, allocations: 239.8 kB / 1.388 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.172, allocations: 6.328 kB / 1.388 GB, free: 6.418 MB / 0.8855 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