Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.00188/0.00188, allocations: 103 kB / 15.06 MB, free: 1.098 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.002677/0.002677, allocations: 173.3 kB / 15.95 MB, free: 212 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.557/2.557, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.576/4.576, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007414/0.0007416, allocations: 8 kB / 0.8376 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374/1.375, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001484/1.377, allocations: 0.6863 MB / 0.9816 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001265/1.378, allocations: 0.9598 MB / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/1.378, allocations: 0 / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/1.378, allocations: 3.938 kB / 0.9825 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/1.378, allocations: 19.91 kB / 0.9826 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/1.379, allocations: 51.89 kB / 0.9826 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/1.379, allocations: 92.27 kB / 0.9827 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/1.379, allocations: 60.61 kB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/1.379, allocations: 51.77 kB / 0.9828 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/1.379, allocations: 51.7 kB / 0.9828 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/1.379, allocations: 4 kB / 0.9828 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/1.379, allocations: 4 kB / 0.9829 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/1.379, allocations: 27.84 kB / 0.9829 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/1.379, allocations: 45.64 kB / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/1.38, allocations: 149.9 kB / 0.9831 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/1.38, allocations: 0 / 0.9831 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.136e-06/1.38, allocations: 4 kB / 0.9831 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.618e-06/1.38, allocations: 0 / 0.9831 GB, free: 4.055 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008034/1.38, allocations: 435 kB / 0.9835 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.38, allocations: 8.031 kB / 0.9835 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.427e-05/1.381, allocations: 46.55 kB / 0.9835 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/1.381, allocations: 15.81 kB / 0.9836 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/1.381, allocations: 255 kB / 0.9838 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/1.381, allocations: 12.28 kB / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/1.381, allocations: 15.95 kB / 0.9838 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/1.382, allocations: 151.8 kB / 0.984 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.382, allocations: 0 / 0.984 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/1.382, allocations: 11.92 kB / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/1.382, allocations: 4 kB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/1.382, allocations: 124.8 kB / 0.9841 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000788/1.383, allocations: 484 kB / 0.9846 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/1.383, allocations: 106.5 kB / 0.9847 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/1.383, allocations: 16.05 kB / 0.9847 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/1.383, allocations: 34.78 kB / 0.9847 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/1.383, allocations: 3.938 kB / 0.9847 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005986/1.384, allocations: 181.4 kB / 0.9849 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.384, allocations: 59.34 kB / 0.9849 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/1.384, allocations: 152 kB / 0.9851 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/1.384, allocations: 29.7 kB / 0.9851 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/1.384, allocations: 124.1 kB / 0.9852 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/1.384, allocations: 31.56 kB / 0.9853 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/1.384, allocations: 4 kB / 0.9853 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.384, allocations: 322.8 kB / 0.9856 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/1.385, allocations: 43.97 kB / 0.9856 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/1.385, allocations: 82.39 kB / 0.9857 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/1.385, allocations: 47.97 kB / 0.9857 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.385, allocations: 0 / 0.9857 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003771/1.385, allocations: 177.6 kB / 0.9859 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.385, allocations: 9.406 kB / 0.9859 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/1.385, allocations: 96 / 0.9859 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.385, allocations: 8 kB / 0.9859 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/1.386, allocations: 23.98 kB / 0.986 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/1.386, allocations: 3.984 kB / 0.986 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/1.386, allocations: 19.84 kB / 0.986 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/1.386, allocations: 4 kB / 0.986 GB, free: 0.8281 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0001328/1.386, allocations: 138.6 kB / 0.9861 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/1.386, allocations: 11.86 kB / 0.9861 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/1.386, allocations: 16.72 kB / 0.9861 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.386, allocations: 3.984 kB / 0.9861 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.386, allocations: 0 / 0.9861 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.386, allocations: 0 / 0.9861 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/1.386, allocations: 229.6 kB / 0.9864 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.386, allocations: 0 / 0.9864 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/1.386, allocations: 23.98 kB / 0.9864 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.386, allocations: 11.94 kB / 0.9864 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/1.386, allocations: 0 / 0.9864 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.386, allocations: 0 / 0.9864 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.386, allocations: 0 / 0.9864 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/1.387, allocations: 251.2 kB / 0.9866 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/1.387, allocations: 84.95 kB / 0.9867 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/1.387, allocations: 7.953 kB / 0.9867 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/1.387, allocations: 15.98 kB / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/1.387, allocations: 11.98 kB / 0.9868 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/1.387, allocations: 7.984 kB / 0.9868 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.404e-05/1.387, allocations: 111.2 kB / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.387, allocations: 0 / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002569/1.388, allocations: 27.91 kB / 0.9869 GB, free: 15.8 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0007396/1.388, allocations: 0.7786 MB / 0.9877 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003801/1.389, allocations: 116.1 kB / 0.9878 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.389, allocations: 0 / 0.9878 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/1.389, allocations: 59.95 kB / 0.9878 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/1.389, allocations: 15.95 kB / 0.9878 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/1.391, allocations: 1.262 MB / 0.9891 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/1.391, allocations: 0.7236 MB / 0.9898 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.963e-05/1.391, allocations: 20.58 kB / 0.9898 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/1.391, allocations: 39.42 kB / 0.9898 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/1.391, allocations: 0 / 0.9898 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/1.41, allocations: 2.476 MB / 0.9922 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/1.411, allocations: 236.6 kB / 0.9925 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/4.172, allocations: 5.234 kB / 0.9925 GB, free: 10.2 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat