Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009894/0.0009894, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9441/0.9441, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.064/2.064, allocations: 429.5 MB / 0.6736 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.655e-05, allocations: 6.047 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1825/0.1825, allocations: 166.7 MB / 1.041 GB, free: 15.34 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005843/0.1884, allocations: 6.185 MB / 1.047 GB, free: 9.133 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.1887, allocations: 11.88 kB / 1.047 GB, free: 9.121 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.1894, allocations: 198.6 kB / 1.047 GB, free: 8.926 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.1897, allocations: 99.31 kB / 1.047 GB, free: 8.828 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.1909, allocations: 0.5329 MB / 1.048 GB, free: 8.293 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.1914, allocations: 418.5 kB / 1.048 GB, free: 7.883 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.1916, allocations: 92.27 kB / 1.048 GB, free: 7.785 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.192, allocations: 255.3 kB / 1.049 GB, free: 7.535 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.1922, allocations: 131.6 kB / 1.049 GB, free: 7.406 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1922, allocations: 16 kB / 1.049 GB, free: 7.391 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000599/0.1928, allocations: 382.7 kB / 1.049 GB, free: 7.016 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1929, allocations: 71.75 kB / 1.049 GB, free: 6.945 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 8.119e-05/0.193, allocations: 71.81 kB / 1.049 GB, free: 6.875 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005422/0.1936, allocations: 386.6 kB / 1.05 GB, free: 6.496 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1936, allocations: 4 kB / 1.05 GB, free: 6.492 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1936, allocations: 4 kB / 1.05 GB, free: 6.488 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.1936, allocations: 0 / 1.05 GB, free: 6.488 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005648/0.1942, allocations: 0.5462 MB / 1.05 GB, free: 5.906 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1942, allocations: 8.031 kB / 1.05 GB, free: 5.898 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.1945, allocations: 75.73 kB / 1.05 GB, free: 5.824 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1948, allocations: 218.1 kB / 1.05 GB, free: 5.586 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.1949, allocations: 242 kB / 1.051 GB, free: 5.301 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.195, allocations: 20 kB / 1.051 GB, free: 5.281 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.1953, allocations: 281.8 kB / 1.051 GB, free: 4.953 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1953, allocations: 4 kB / 1.051 GB, free: 4.949 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1953, allocations: 7.938 kB / 1.051 GB, free: 4.941 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1953, allocations: 8 kB / 1.051 GB, free: 4.934 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.1955, allocations: 108.6 kB / 1.051 GB, free: 4.828 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.1967, allocations: 2.013 MB / 1.053 GB, free: 2.73 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 9.441e-05/0.1968, allocations: 265.4 kB / 1.053 GB, free: 2.457 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.1969, allocations: 126.9 kB / 1.053 GB, free: 2.328 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1969, allocations: 119.2 kB / 1.053 GB, free: 2.211 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.1969, allocations: 164.5 kB / 1.054 GB, free: 2.039 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.1969, allocations: 0 / 1.054 GB, free: 2.039 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 8.225e-05/0.197, allocations: 37.66 kB / 1.054 GB, free: 1.996 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.1971, allocations: 170.6 kB / 1.054 GB, free: 1.816 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1973, allocations: 271.5 kB / 1.054 GB, free: 1.535 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.1973, allocations: 25.7 kB / 1.054 GB, free: 1.504 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1974, allocations: 254.3 kB / 1.054 GB, free: 1.25 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.1974, allocations: 4 kB / 1.054 GB, free: 1.246 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.1975, allocations: 51.31 kB / 1.054 GB, free: 1.188 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1976, allocations: 0.4923 MB / 1.055 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.1976, allocations: 11.98 kB / 1.055 GB, free: 0.6719 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1978, allocations: 200.1 kB / 1.055 GB, free: 404 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1979, allocations: 229.5 kB / 1.055 GB, free: 88 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1979, allocations: 0 / 1.055 GB, free: 88 kB / 1.01 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.5001/0.6981, allocations: 178.1 kB / 1.055 GB, free: 223.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.6981, allocations: 5.719 kB / 1.056 GB, free: 223.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6981, allocations: 11.88 kB / 1.056 GB, free: 223.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/0.6982, allocations: 6.844 kB / 1.056 GB, free: 223.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.6984, allocations: 32.91 kB / 1.056 GB, free: 223.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.6984, allocations: 14.56 kB / 1.056 GB, free: 223.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.6985, allocations: 24.72 kB / 1.056 GB, free: 223.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.6985, allocations: 15.19 kB / 1.056 GB, free: 223.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.686e-05/0.6986, allocations: 289.8 kB / 1.056 GB, free: 223.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.6987, allocations: 157.4 kB / 1.056 GB, free: 223.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.6987, allocations: 158.3 kB / 1.056 GB, free: 223.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.6987, allocations: 273.8 kB / 1.056 GB, free: 222.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.789e-05/0.6988, allocations: 268.5 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/0.6988, allocations: 274.4 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.699, allocations: 0.5452 MB / 1.057 GB, free: 221.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.699, allocations: 151.3 kB / 1.058 GB, free: 221.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.699, allocations: 146.3 kB / 1.058 GB, free: 221.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.917e-05/0.699, allocations: 270.1 kB / 1.058 GB, free: 221.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.6991, allocations: 271.5 kB / 1.058 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.389e-05/0.6991, allocations: 266.5 kB / 1.059 GB, free: 220.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.503e-05/0.6991, allocations: 267 kB / 1.059 GB, free: 220.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.121e-05/0.6992, allocations: 462.7 kB / 1.059 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.6993, allocations: 167 kB / 1.059 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.6993, allocations: 268 kB / 1.06 GB, free: 219.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.6994, allocations: 153.7 kB / 1.06 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.6994, allocations: 265.1 kB / 1.06 GB, free: 219.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.6994, allocations: 153.3 kB / 1.06 GB, free: 219 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001083/0.6995, allocations: 181.4 kB / 1.06 GB, free: 218.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6995, allocations: 0 / 1.06 GB, free: 218.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002863/0.6998, allocations: 60.89 kB / 1.06 GB, free: 218.9 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002137/0.7, allocations: 243 kB / 1.061 GB, free: 218.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.7002, allocations: 70.09 kB / 1.061 GB, free: 218.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7002, allocations: 0 / 1.061 GB, free: 218.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.7002, allocations: 1.594 kB / 1.061 GB, free: 218.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.7004, allocations: 0.7231 MB / 1.061 GB, free: 217.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006773/0.7011, allocations: 435.3 kB / 1.062 GB, free: 217.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.7011, allocations: 79.59 kB / 1.062 GB, free: 217.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.413e-05/0.7012, allocations: 28.28 kB / 1.062 GB, free: 217.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.7013, allocations: 16.09 kB / 1.062 GB, free: 217.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.342e-06/0.7013, allocations: 0 / 1.062 GB, free: 217.5 MB / 1.01 GB Notification: Performance of Templates: time 0.003458/0.7047, allocations: 1.196 MB / 1.063 GB, free: 217.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.219147742958739]