Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001007/0.001007, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001001/0.001001, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9427/0.9427, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.789/1.789, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 4 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.453e-05, allocations: 6.406 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00226/0.002284, allocations: 1.93 MB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.004198, allocations: 1.846 MB / 0.7908 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.004265, allocations: 3.938 kB / 0.7908 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.00446, allocations: 28.86 kB / 0.7908 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.004749, allocations: 124.3 kB / 0.791 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.005014, allocations: 173 kB / 0.7911 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.005259, allocations: 309.1 kB / 0.7914 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.005364, allocations: 21.31 kB / 0.7914 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.005484, allocations: 143.8 kB / 0.7916 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.00563, allocations: 101.6 kB / 0.7917 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.005659, allocations: 20 kB / 0.7917 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.005805, allocations: 123.8 kB / 0.7918 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.00588, allocations: 91.73 kB / 0.7919 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.005956, allocations: 87.73 kB / 0.792 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.006256, allocations: 333.1 kB / 0.7923 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006258, allocations: 0 / 0.7923 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.006259, allocations: 3.938 kB / 0.7923 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.006263, allocations: 0 / 0.7923 GB, free: 7.441 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005538/0.006817, allocations: 0.6173 MB / 0.7929 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.006851, allocations: 12.03 kB / 0.7929 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.007, allocations: 57.23 kB / 0.793 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.007198, allocations: 227.6 kB / 0.7932 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.007212, allocations: 18.34 kB / 0.7932 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.007234, allocations: 20.38 kB / 0.7932 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.00751, allocations: 345.2 kB / 0.7936 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.007519, allocations: 3.938 kB / 0.7936 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.007537, allocations: 9.75 kB / 0.7936 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.007545, allocations: 4 kB / 0.7936 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.008023, allocations: 0.6312 MB / 0.7942 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.008655, allocations: 0.5506 MB / 0.7947 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.008917, allocations: 187 kB / 0.7949 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.024e-05/0.008997, allocations: 67.5 kB / 0.795 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.009025, allocations: 17.52 kB / 0.795 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.009206, allocations: 193.3 kB / 0.7952 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 1.332e-06/0.009207, allocations: 0 / 0.7952 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.0003722/0.00958, allocations: 283.7 kB / 0.7954 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.009634, allocations: 134.8 kB / 0.7956 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.009817, allocations: 316.3 kB / 0.7959 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.009847, allocations: 37.7 kB / 0.7959 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.009928, allocations: 187.7 kB / 0.7961 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.009994, allocations: 127 kB / 0.7962 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.01006, allocations: 71.34 kB / 0.7963 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.01018, allocations: 0.5125 MB / 0.7968 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.01025, allocations: 47.95 kB / 0.7968 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.01053, allocations: 176.3 kB / 0.797 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.01069, allocations: 142.9 kB / 0.7971 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01069, allocations: 0 / 0.7971 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002705/0.01096, allocations: 230.2 kB / 0.7973 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01098, allocations: 5.719 kB / 0.7974 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01098, allocations: 0 / 0.7974 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.01099, allocations: 4.562 kB / 0.7974 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.01113, allocations: 73.2 kB / 0.7974 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01114, allocations: 0 / 0.7974 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.01121, allocations: 27.77 kB / 0.7975 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.01122, allocations: 15.98 kB / 0.7975 GB, free: 1.84 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.164e-05/0.01132, allocations: 173.7 kB / 0.7976 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.01136, allocations: 43.81 kB / 0.7977 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.0117, allocations: 317.3 kB / 0.798 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.01171, allocations: 4 kB / 0.798 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01171, allocations: 0 / 0.798 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.01172, allocations: 8.547 kB / 0.798 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.0119, allocations: 236.4 kB / 0.7982 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0119, allocations: 4.844 kB / 0.7982 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/0.012, allocations: 55.97 kB / 0.7983 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.012, allocations: 5.531 kB / 0.7983 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01201, allocations: 15.98 kB / 0.7983 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01201, allocations: 3.938 kB / 0.7983 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01201, allocations: 0 / 0.7983 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.01227, allocations: 278.2 kB / 0.7986 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.01234, allocations: 67.72 kB / 0.7986 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.01237, allocations: 8 kB / 0.7986 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.01244, allocations: 19.39 kB / 0.7987 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.01248, allocations: 27.95 kB / 0.7987 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.0125, allocations: 15.98 kB / 0.7987 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001063/0.0126, allocations: 221.1 kB / 0.7989 GB, free: 308 kB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.0126, allocations: 4 kB / 0.7989 GB, free: 304 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002114/0.01281, allocations: 87.77 kB / 0.799 GB, free: 216 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008516/0.01366, allocations: 471.2 kB / 0.7994 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.0139, allocations: 164.5 kB / 0.7996 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.0139, allocations: 4.5 kB / 0.7996 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.01401, allocations: 107.2 kB / 0.7997 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.0142, allocations: 58.47 kB / 0.7998 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007968/0.01499, allocations: 489.8 kB / 0.8002 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.01504, allocations: 98.12 kB / 0.8003 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.01523, allocations: 142.8 kB / 0.8005 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.01529, allocations: 48.48 kB / 0.8005 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of SimCode: time 5.1e-07/0.01529, allocations: 0 / 0.8005 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of Templates: time 0.005441/0.02073, allocations: 4.001 MB / 0.8044 GB, free: 10.85 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.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: 5.240018880926073]