Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.001381/0.001381, allocations: 100.1 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.001541/0.001541, allocations: 177.3 kB / 15.95 MB, free: 216 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.428/2.428, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.643/4.643, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006866/0.0006869, allocations: 8 kB / 0.8376 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195/1.195, allocations: 146.8 MB / 0.9809 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002741/1.198, allocations: 0.92 MB / 0.9818 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002447/1.201, allocations: 1.045 MB / 0.9828 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/1.201, allocations: 4 kB / 0.9828 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.331e-05/1.201, allocations: 19.78 kB / 0.9829 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001966/1.201, allocations: 23.91 kB / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/1.202, allocations: 71.88 kB / 0.983 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003314/1.202, allocations: 164.7 kB / 0.9831 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/1.202, allocations: 112 kB / 0.9832 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/1.203, allocations: 75.64 kB / 0.9833 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/1.203, allocations: 87.47 kB / 0.9834 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/1.203, allocations: 8 kB / 0.9834 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.964e-05/1.203, allocations: 8 kB / 0.9834 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/1.203, allocations: 31.84 kB / 0.9834 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/1.203, allocations: 61.58 kB / 0.9835 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/1.204, allocations: 293.5 kB / 0.9838 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/1.204, allocations: 0 / 0.9838 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.923e-06/1.204, allocations: 3.938 kB / 0.9838 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.169e-05/1.204, allocations: 3.938 kB / 0.9838 GB, free: 3.312 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00145/1.205, allocations: 0.5067 MB / 0.9843 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.756e-05/1.205, allocations: 8.031 kB / 0.9843 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/1.205, allocations: 62.53 kB / 0.9843 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.795e-05/1.206, allocations: 27.72 kB / 0.9844 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/1.207, allocations: 311.9 kB / 0.9847 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/1.207, allocations: 20.56 kB / 0.9847 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/1.207, allocations: 24 kB / 0.9847 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009866/1.208, allocations: 232.8 kB / 0.9849 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/1.208, allocations: 3.938 kB / 0.9849 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/1.208, allocations: 12 kB / 0.9849 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/1.208, allocations: 7.938 kB / 0.9849 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008712/1.209, allocations: 186.1 kB / 0.9851 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/1.211, allocations: 0.6741 MB / 0.9858 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007562/1.212, allocations: 150.5 kB / 0.9859 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/1.212, allocations: 4 kB / 0.9859 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/1.212, allocations: 42.56 kB / 0.986 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 3.386e-06/1.212, allocations: 0 / 0.986 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0008992/1.213, allocations: 244.2 kB / 0.9862 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.213, allocations: 55.41 kB / 0.9863 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/1.213, allocations: 203.6 kB / 0.9864 GB, free: 376 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/1.213, allocations: 33.7 kB / 0.9865 GB, free: 336 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/1.213, allocations: 164.1 kB / 0.9866 GB, free: 168 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/1.213, allocations: 51.3 kB / 0.9867 GB, free: 116 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/1.213, allocations: 4 kB / 0.9867 GB, free: 112 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002608/1.214, allocations: 330.8 kB / 0.987 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/1.214, allocations: 63.95 kB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/1.214, allocations: 124.3 kB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/1.214, allocations: 75.91 kB / 0.9873 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.214, allocations: 0 / 0.9873 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004703/1.215, allocations: 230.1 kB / 0.9875 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.215, allocations: 6.031 kB / 0.9875 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.215, allocations: 4 kB / 0.9875 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.215, allocations: 7.953 kB / 0.9875 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/1.215, allocations: 35.97 kB / 0.9875 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.215, allocations: 7.938 kB / 0.9875 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/1.215, allocations: 32.05 kB / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/1.215, allocations: 11.98 kB / 0.9876 GB, free: 15.16 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y,reaToInt2.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (25): * Single equations (assignments): 25 * 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.0002156/1.215, allocations: 145.8 kB / 0.9877 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/1.216, allocations: 19.72 kB / 0.9877 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/1.216, allocations: 25.86 kB / 0.9878 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/1.216, allocations: 3.953 kB / 0.9878 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.216, allocations: 4 kB / 0.9878 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.216, allocations: 7.984 kB / 0.9878 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/1.216, allocations: 289.5 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.216, allocations: 0 / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/1.216, allocations: 27.97 kB / 0.9881 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.216, allocations: 0 / 0.9881 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/1.216, allocations: 4 kB / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.216, allocations: 0 / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.216, allocations: 3.953 kB / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/1.217, allocations: 287.1 kB / 0.9884 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/1.217, allocations: 92.83 kB / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/1.217, allocations: 4 kB / 0.9885 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/1.217, allocations: 19.98 kB / 0.9885 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/1.217, allocations: 27.95 kB / 0.9885 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/1.217, allocations: 7.953 kB / 0.9885 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001181/1.217, allocations: 141.5 kB / 0.9886 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.217, allocations: 0 / 0.9886 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003983/1.218, allocations: 47.78 kB / 0.9887 GB, free: 13.94 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: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001085/1.219, allocations: 0.8245 MB / 0.9895 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005582/1.219, allocations: 172.1 kB / 0.9897 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.219, allocations: 4 kB / 0.9897 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/1.22, allocations: 87.89 kB / 0.9897 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/1.22, allocations: 25.34 kB / 0.9898 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/1.223, allocations: 2.217 MB / 0.9919 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/1.223, allocations: 0.7565 MB / 0.9927 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00022/1.223, allocations: 25.95 kB / 0.9927 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/1.224, allocations: 75.41 kB / 0.9928 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of SimCode: time 1.463e-06/1.224, allocations: 0 / 0.9928 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08037/1.304, allocations: 3.805 MB / 0.9965 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003591/1.304, allocations: 248.1 kB / 0.9967 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/4.152, allocations: 2.062 kB / 0.9967 GB, free: 5.742 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat