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.000989/0.0009889, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00124/0.00124, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.455/2.455, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000593/0.0005932, allocations: 12 kB / 0.8378 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.8676, allocations: 146.8 MB / 0.9812 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001193/0.8688, allocations: 0.69 MB / 0.9819 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.8699, allocations: 0.9481 MB / 0.9828 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.87, allocations: 4 kB / 0.9828 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.87, allocations: 11.86 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.459e-05/0.8701, allocations: 19.84 kB / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.8703, allocations: 39.97 kB / 0.9829 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.8705, allocations: 152 kB / 0.983 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.8707, allocations: 64.14 kB / 0.9831 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.8708, allocations: 43.78 kB / 0.9831 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.8709, allocations: 51.7 kB / 0.9832 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.8709, allocations: 8 kB / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.8709, allocations: 4 kB / 0.9832 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.871, allocations: 19.92 kB / 0.9832 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.871, allocations: 49.58 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.8712, allocations: 153.8 kB / 0.9834 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8712, allocations: 0 / 0.9834 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8712, allocations: 0 / 0.9834 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.8712, allocations: 0 / 0.9834 GB, free: 3.965 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.0005675/0.8718, allocations: 431.1 kB / 0.9838 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.8718, allocations: 11.97 kB / 0.9838 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.8719, allocations: 46.55 kB / 0.9838 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.8719, allocations: 15.81 kB / 0.9839 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.8723, allocations: 267 kB / 0.9841 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.8724, allocations: 12.28 kB / 0.9841 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.8724, allocations: 15.95 kB / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.8727, allocations: 147.8 kB / 0.9843 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8727, allocations: 0 / 0.9843 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.8728, allocations: 8 kB / 0.9843 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8728, allocations: 4 kB / 0.9843 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.8731, allocations: 128.7 kB / 0.9844 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.8738, allocations: 480 kB / 0.9849 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.8741, allocations: 118.5 kB / 0.985 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.8743, allocations: 56.83 kB / 0.985 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.8743, allocations: 0 / 0.985 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.8743, allocations: 30.56 kB / 0.9851 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.8743, allocations: 8 kB / 0.9851 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005389/0.8749, allocations: 189.7 kB / 0.9853 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.8749, allocations: 51.41 kB / 0.9853 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.8751, allocations: 152.2 kB / 0.9855 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.8751, allocations: 29.7 kB / 0.9855 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.8752, allocations: 120.2 kB / 0.9856 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.8752, allocations: 39.47 kB / 0.9856 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.8752, allocations: 3.938 kB / 0.9856 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.8754, allocations: 318.8 kB / 0.9859 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.8755, allocations: 55.95 kB / 0.986 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.8757, allocations: 74.66 kB / 0.9861 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.8758, allocations: 52.02 kB / 0.9861 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8758, allocations: 0 / 0.9861 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000326/0.8762, allocations: 161.4 kB / 0.9863 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.8762, allocations: 8.938 kB / 0.9863 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8762, allocations: 0 / 0.9863 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8762, allocations: 0 / 0.9863 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.8764, allocations: 35.91 kB / 0.9863 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.8764, allocations: 8.094 kB / 0.9863 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.8765, allocations: 23.77 kB / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.8765, allocations: 8 kB / 0.9864 GB, free: 0.6719 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.0001187/0.8766, allocations: 130.8 kB / 0.9865 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.8767, allocations: 15.84 kB / 0.9865 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.8767, allocations: 12.72 kB / 0.9865 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.8767, allocations: 7.984 kB / 0.9865 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8767, allocations: 4 kB / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8767, allocations: 0 / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.877, allocations: 221.6 kB / 0.9867 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.877, allocations: 0 / 0.9867 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.8771, allocations: 23.97 kB / 0.9868 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.8771, allocations: 7.953 kB / 0.9868 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.8771, allocations: 4 kB / 0.9868 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8771, allocations: 0 / 0.9868 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8771, allocations: 0 / 0.9868 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.8775, allocations: 243.2 kB / 0.987 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.8776, allocations: 88.95 kB / 0.9871 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.8776, allocations: 11.89 kB / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.8777, allocations: 15.98 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.8778, allocations: 19.97 kB / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.8778, allocations: 4 kB / 0.9871 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.98e-05/0.8779, allocations: 110.8 kB / 0.9872 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8779, allocations: 0 / 0.9872 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002418/0.8781, allocations: 23.91 kB / 0.9873 GB, free: 15.65 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.0006639/0.8788, allocations: 0.7748 MB / 0.988 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.8792, allocations: 120.1 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.8792, allocations: 8.188 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.8793, allocations: 56.19 kB / 0.9882 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.8797, allocations: 21.69 kB / 0.9882 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.881, allocations: 0.8045 MB / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.8813, allocations: 0.7157 MB / 0.9897 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.245e-05/0.8814, allocations: 16.64 kB / 0.9897 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.8815, allocations: 47.41 kB / 0.9898 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.8815, allocations: 0 / 0.9898 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.8947, allocations: 2.491 MB / 0.9922 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/0.8951, allocations: 245 kB / 0.9924 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.612, allocations: 0 / 0.9924 GB, free: 10.43 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