Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001579/0.001579, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001744/0.001744, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.9858/0.9858, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.043/2.043, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.886e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002537/0.002556, allocations: 1.962 MB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.004534, allocations: 1.843 MB / 0.8819 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.88e-05/0.004633, allocations: 3.938 kB / 0.8819 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.004866, allocations: 29.31 kB / 0.8819 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.005288, allocations: 127.2 kB / 0.882 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.005668, allocations: 177.8 kB / 0.8822 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000283/0.005951, allocations: 297.2 kB / 0.8825 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.006054, allocations: 29.28 kB / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.006187, allocations: 139.8 kB / 0.8827 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.006337, allocations: 91.8 kB / 0.8827 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.00637, allocations: 26.16 kB / 0.8828 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.006566, allocations: 131.8 kB / 0.8829 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/0.006652, allocations: 91.73 kB / 0.883 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.00673, allocations: 87.73 kB / 0.8831 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.007079, allocations: 330.7 kB / 0.8834 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.007081, allocations: 0 / 0.8834 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.41e-07/0.007081, allocations: 0.7188 kB / 0.8834 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.007087, allocations: 0 / 0.8834 GB, free: 0.9883 MB / 0.8386 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.0006456/0.007732, allocations: 0.6189 MB / 0.884 GB, free: 340 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.007767, allocations: 12.03 kB / 0.884 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.007911, allocations: 60.56 kB / 0.8841 GB, free: 268 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.00816, allocations: 227.6 kB / 0.8843 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.008179, allocations: 17.97 kB / 0.8843 GB, free: 0 / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.008218, allocations: 20.36 kB / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.008507, allocations: 345.2 kB / 0.8846 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.008524, allocations: 7.938 kB / 0.8847 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.008545, allocations: 12 kB / 0.8847 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.008555, allocations: 4 kB / 0.8847 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00049/0.009045, allocations: 0.6312 MB / 0.8853 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006865/0.009731, allocations: 0.546 MB / 0.8858 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.01, allocations: 190.2 kB / 0.886 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.01009, allocations: 59.66 kB / 0.8861 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.01012, allocations: 15.98 kB / 0.8861 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.01032, allocations: 205.7 kB / 0.8863 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 1.382e-06/0.01032, allocations: 0 / 0.8863 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.0004088/0.01073, allocations: 286.1 kB / 0.8865 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.01079, allocations: 132.5 kB / 0.8867 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.01099, allocations: 316.3 kB / 0.887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.01101, allocations: 33.7 kB / 0.887 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.01109, allocations: 195.7 kB / 0.8872 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.01116, allocations: 115 kB / 0.8873 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.01124, allocations: 79.34 kB / 0.8874 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.01138, allocations: 0.5118 MB / 0.8879 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.01148, allocations: 47.97 kB / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.01167, allocations: 181.4 kB / 0.8881 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.01191, allocations: 135.8 kB / 0.8882 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01191, allocations: 3.938 kB / 0.8882 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002761/0.01219, allocations: 225.2 kB / 0.8884 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.0122, allocations: 4 kB / 0.8884 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01221, allocations: 0 / 0.8884 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01222, allocations: 4 kB / 0.8884 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.01238, allocations: 67.91 kB / 0.8885 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.01239, allocations: 0 / 0.8885 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.01247, allocations: 39.64 kB / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.01249, allocations: 16 kB / 0.8886 GB, free: 11.36 MB / 0.8542 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.735e-05/0.01259, allocations: 176.5 kB / 0.8887 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.01263, allocations: 39.81 kB / 0.8888 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.013, allocations: 308.8 kB / 0.8891 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.013, allocations: 4 kB / 0.8891 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01301, allocations: 0 / 0.8891 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01301, allocations: 3.938 kB / 0.8891 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.0132, allocations: 240.3 kB / 0.8893 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.0132, allocations: 4 kB / 0.8893 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.0133, allocations: 59.97 kB / 0.8894 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01331, allocations: 0 / 0.8894 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01332, allocations: 12 kB / 0.8894 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01332, allocations: 4 kB / 0.8894 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01332, allocations: 3.938 kB / 0.8894 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.0136, allocations: 286.6 kB / 0.8897 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.269e-05/0.01368, allocations: 75.7 kB / 0.8897 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.01371, allocations: 8 kB / 0.8897 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.01378, allocations: 15.98 kB / 0.8897 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.01383, allocations: 27.95 kB / 0.8898 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.01384, allocations: 12 kB / 0.8898 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001181/0.01396, allocations: 221.1 kB / 0.89 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01396, allocations: 0 / 0.89 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002288/0.01419, allocations: 95.8 kB / 0.8901 GB, free: 9.723 MB / 0.8542 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.0009019/0.01509, allocations: 467.2 kB / 0.8905 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.01534, allocations: 171.2 kB / 0.8907 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.01534, allocations: 4 kB / 0.8907 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.01546, allocations: 103.5 kB / 0.8908 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.01568, allocations: 65.97 kB / 0.8909 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008864/0.01657, allocations: 487 kB / 0.8913 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.175e-05/0.01662, allocations: 98.12 kB / 0.8914 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.0168, allocations: 142.9 kB / 0.8916 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.01687, allocations: 40.48 kB / 0.8916 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of SimCode: time 8.51e-07/0.01687, allocations: 0 / 0.8916 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of Templates: time 0.005761/0.02263, allocations: 4.005 MB / 0.8955 GB, free: 4.328 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.529784350190312]