Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.237/2.237, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001987/0.001987, allocations: 190.8 kB / 0.4902 GB, free: 2.297 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.502/1.502, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0008935/0.0008932, allocations: 98.39 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003827, allocations: 12.44 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3188, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.52, allocations: 150.9 MB / 1.377 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.5202, allocations: 75.95 kB / 1.377 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006715/0.527, allocations: 2.423 MB / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.574e-06/0.527, allocations: 0 / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.527, allocations: 4 kB / 1.379 GB, free: 104 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.0006694/0.5277, allocations: 439 kB / 1.38 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5278, allocations: 12.56 kB / 1.38 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.635e-05/0.5279, allocations: 46.55 kB / 1.38 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.5279, allocations: 19.77 kB / 1.38 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.5281, allocations: 191.5 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.5281, allocations: 12.28 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.5282, allocations: 12 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.5286, allocations: 151.9 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.5286, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.5286, allocations: 4 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5286, allocations: 4 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.529, allocations: 152.7 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.5298, allocations: 0.4887 MB / 1.381 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.5301, allocations: 122.7 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.5302, allocations: 3.938 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.5302, allocations: 34.56 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.5302, allocations: 0 / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.000628/0.5308, allocations: 210 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.5309, allocations: 55.36 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.531, allocations: 156.3 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.5311, allocations: 29.7 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.5311, allocations: 112 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.5312, allocations: 27.62 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.5312, allocations: 0 / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5313, allocations: 322.8 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.5315, allocations: 55.95 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.5316, allocations: 59.95 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.5318, allocations: 51.91 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5318, allocations: 0 / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003757/0.5322, allocations: 153.4 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5322, allocations: 8 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5322, allocations: 0 / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5322, allocations: 0 / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.5324, allocations: 23.98 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5324, allocations: 4 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.5326, allocations: 23.88 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.5326, allocations: 4 kB / 1.382 GB, free: 12.94 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.0001155/0.5327, allocations: 121.8 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.5328, allocations: 23.73 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.5328, allocations: 12.72 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.5328, allocations: 7.984 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5328, allocations: 0 / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5328, allocations: 0 / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.5331, allocations: 245.5 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5331, allocations: 3.984 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.5332, allocations: 23.98 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.5333, allocations: 0 / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.5333, allocations: 8 kB / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5333, allocations: 0 / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5333, allocations: 0 / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.5337, allocations: 259.3 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.5338, allocations: 92.86 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.5338, allocations: 4 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.534, allocations: 15.98 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.5341, allocations: 15.97 kB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.5341, allocations: 8 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001014/0.5342, allocations: 124.7 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5342, allocations: 0 / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002524/0.5344, allocations: 27.94 kB / 1.383 GB, free: 11.87 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.0007753/0.5352, allocations: 0.8115 MB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.5356, allocations: 120.5 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5356, allocations: 0 / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.5358, allocations: 75.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.0002363/0.5361, allocations: 16.36 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.5377, allocations: 0.8595 MB / 1.385 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.538, allocations: 0.7197 MB / 1.385 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.244e-05/0.5381, allocations: 12.55 kB / 1.385 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.5382, allocations: 43.42 kB / 1.386 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of SimCode: time 8.12e-07/0.5382, allocations: 0 / 1.386 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.5545, allocations: 2.674 MB / 1.388 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.5548, allocations: 239.8 kB / 1.388 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.311, allocations: 2.672 kB / 1.388 GB, free: 6.43 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat