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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.252/2.252, allocations: 223.2 MB / 239.9 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.441/4.441, allocations: 409.2 MB / 0.6838 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005852/0.0005853, allocations: 12 kB / 0.8376 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398/1.398, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002269/1.401, allocations: 0.6824 MB / 0.9816 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002732/1.403, allocations: 0.952 MB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/1.404, allocations: 4 kB / 0.9825 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.331e-05/1.404, allocations: 3.938 kB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002576/1.404, allocations: 23.89 kB / 0.9825 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/1.405, allocations: 39.91 kB / 0.9826 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005094/1.405, allocations: 83.84 kB / 0.9827 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/1.406, allocations: 67 kB / 0.9827 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/1.406, allocations: 47.78 kB / 0.9828 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/1.406, allocations: 59.62 kB / 0.9828 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/1.406, allocations: 4 kB / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.323e-05/1.406, allocations: 4 kB / 0.9828 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/1.406, allocations: 15.92 kB / 0.9829 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/1.407, allocations: 53.58 kB / 0.9829 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/1.407, allocations: 141.9 kB / 0.983 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/1.407, allocations: 0 / 0.983 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.145e-06/1.407, allocations: 4 kB / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.635e-05/1.407, allocations: 0 / 0.983 GB, free: 4.105 MB / 0.7325 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.001118/1.408, allocations: 431 kB / 0.9835 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/1.408, allocations: 12.03 kB / 0.9835 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/1.408, allocations: 46.55 kB / 0.9835 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/1.408, allocations: 15.81 kB / 0.9835 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008149/1.409, allocations: 264 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/1.409, allocations: 12.28 kB / 0.9838 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/1.409, allocations: 15.95 kB / 0.9838 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/1.41, allocations: 147.9 kB / 0.9839 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.41, allocations: 0 / 0.9839 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/1.41, allocations: 4 kB / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/1.41, allocations: 4 kB / 0.984 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/1.411, allocations: 124.8 kB / 0.9841 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/1.412, allocations: 472.3 kB / 0.9845 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/1.413, allocations: 110.7 kB / 0.9846 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/1.413, allocations: 0 / 0.9846 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/1.413, allocations: 34.5 kB / 0.9847 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.218e-05/1.413, allocations: 8.203 kB / 0.9847 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.00106/1.414, allocations: 189.3 kB / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/1.414, allocations: 55.41 kB / 0.9849 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/1.414, allocations: 150.5 kB / 0.985 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/1.414, allocations: 29.7 kB / 0.9851 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/1.414, allocations: 123.7 kB / 0.9852 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/1.415, allocations: 31.55 kB / 0.9852 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/1.415, allocations: 0 / 0.9852 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002215/1.415, allocations: 322.8 kB / 0.9855 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/1.415, allocations: 51.97 kB / 0.9856 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/1.415, allocations: 83.33 kB / 0.9857 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/1.416, allocations: 43.98 kB / 0.9857 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/1.416, allocations: 0 / 0.9857 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007358/1.417, allocations: 169.3 kB / 0.9859 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/1.417, allocations: 7.984 kB / 0.9859 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.417, allocations: 3.938 kB / 0.9859 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/1.417, allocations: 4 kB / 0.9859 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/1.417, allocations: 27.92 kB / 0.9859 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/1.417, allocations: 4.094 kB / 0.9859 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/1.417, allocations: 15.98 kB / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/1.417, allocations: 8 kB / 0.9859 GB, free: 0.9062 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002168/1.417, allocations: 125.8 kB / 0.9861 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/1.418, allocations: 15.77 kB / 0.9861 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/1.418, allocations: 20.7 kB / 0.9861 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.418, allocations: 0 / 0.9861 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.418, allocations: 4 kB / 0.9861 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.418, allocations: 4 kB / 0.9861 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/1.418, allocations: 225.6 kB / 0.9863 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.418, allocations: 4 kB / 0.9863 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/1.418, allocations: 23.92 kB / 0.9863 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/1.418, allocations: 3.953 kB / 0.9863 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/1.419, allocations: 0 / 0.9863 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/1.419, allocations: 0 / 0.9863 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/1.419, allocations: 4 kB / 0.9863 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007941/1.419, allocations: 239.9 kB / 0.9866 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/1.419, allocations: 88.91 kB / 0.9867 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/1.42, allocations: 15.95 kB / 0.9867 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/1.42, allocations: 12 kB / 0.9867 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.42, allocations: 15.97 kB / 0.9867 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/1.42, allocations: 7.938 kB / 0.9867 GB, free: 16 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001824/1.42, allocations: 107.8 kB / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.71e-07/1.42, allocations: 0 / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000521/1.421, allocations: 23.94 kB / 0.9868 GB, free: 15.89 MB / 0.7481 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.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.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.00144/1.422, allocations: 0.7878 MB / 0.9876 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007659/1.423, allocations: 115.9 kB / 0.9877 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/1.423, allocations: 192 / 0.9877 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/1.423, allocations: 67.89 kB / 0.9878 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/1.424, allocations: 15.95 kB / 0.9878 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/1.427, allocations: 1.262 MB / 0.989 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/1.428, allocations: 0.7162 MB / 0.9897 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002046/1.428, allocations: 12.84 kB / 0.9897 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/1.429, allocations: 51.41 kB / 0.9898 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of SimCode: time 1.573e-06/1.429, allocations: 3.938 kB / 0.9898 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/1.475, allocations: 2.471 MB / 0.9922 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003583/1.475, allocations: 246.1 kB / 0.9924 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/4.322, allocations: 5.875 kB / 0.9924 GB, free: 10.27 MB / 0.7481 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) Environment - environmentSimulation: 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