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.001365/0.001365, allocations: 92.22 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.001408/0.001408, allocations: 173 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.9506/0.9506, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.024/2.024, allocations: 429.5 MB / 0.6733 GB, free: 4.035 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.212e-06/1.212e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.551e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002439/0.002465, allocations: 1.957 MB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.004251, allocations: 1.842 MB / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.004338, allocations: 0 / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.004569, allocations: 35.7 kB / 0.8819 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.00496, allocations: 129.2 kB / 0.8821 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.005301, allocations: 175.4 kB / 0.8822 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.005576, allocations: 294.4 kB / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.005678, allocations: 29.23 kB / 0.8825 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02735/0.03302, allocations: 9.715 MB / 0.892 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.03323, allocations: 83.81 kB / 0.8921 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.03328, allocations: 20 kB / 0.8921 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.03351, allocations: 75.86 kB / 0.8922 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.03362, allocations: 91.72 kB / 0.8923 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.03374, allocations: 79.75 kB / 0.8924 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.03427, allocations: 274.9 kB / 0.8926 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.03428, allocations: 0 / 0.8926 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.743e-06/0.03428, allocations: 0 / 0.8926 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.03429, allocations: 0 / 0.8926 GB, free: 10.86 MB / 0.8542 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.0008064/0.03509, allocations: 0.6057 MB / 0.8932 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.03514, allocations: 8.031 kB / 0.8932 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.03535, allocations: 52.64 kB / 0.8933 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.03568, allocations: 266.2 kB / 0.8935 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.0357, allocations: 16.69 kB / 0.8935 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.03573, allocations: 20.38 kB / 0.8936 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.03611, allocations: 311.8 kB / 0.8939 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.03612, allocations: 3.938 kB / 0.8939 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.03615, allocations: 8 kB / 0.8939 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.03616, allocations: 4 kB / 0.8939 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.03684, allocations: 0.6312 MB / 0.8945 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.03773, allocations: 0.5538 MB / 0.895 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.03807, allocations: 182.2 kB / 0.8952 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.03818, allocations: 63.66 kB / 0.8953 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.03822, allocations: 15.98 kB / 0.8953 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.03848, allocations: 197.7 kB / 0.8955 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 2.004e-06/0.03849, allocations: 0 / 0.8955 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.0005243/0.03901, allocations: 286.1 kB / 0.8957 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.03911, allocations: 110.8 kB / 0.8958 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.03935, allocations: 280.3 kB / 0.8961 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.03938, allocations: 29.7 kB / 0.8961 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.03947, allocations: 195.7 kB / 0.8963 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.03956, allocations: 123 kB / 0.8964 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-05/0.03965, allocations: 75.34 kB / 0.8965 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.03986, allocations: 0.5196 MB / 0.897 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.03995, allocations: 39.97 kB / 0.8971 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.0401, allocations: 144 kB / 0.8972 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.04032, allocations: 143.7 kB / 0.8973 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.04032, allocations: 0 / 0.8973 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003334/0.04066, allocations: 225.1 kB / 0.8976 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.04068, allocations: 8 kB / 0.8976 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.04068, allocations: 0 / 0.8976 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.0407, allocations: 8.016 kB / 0.8976 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.0409, allocations: 67.91 kB / 0.8976 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.04091, allocations: 0 / 0.8976 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.502e-05/0.041, allocations: 27.78 kB / 0.8977 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.04103, allocations: 19.98 kB / 0.8977 GB, free: 5.375 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 0.0001171/0.04115, allocations: 168.5 kB / 0.8978 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.04121, allocations: 39.81 kB / 0.8979 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.04169, allocations: 312.8 kB / 0.8982 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.04169, allocations: 4 kB / 0.8982 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.0417, allocations: 0 / 0.8982 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.0417, allocations: 7.922 kB / 0.8982 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.04193, allocations: 236.4 kB / 0.8984 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.04193, allocations: 4 kB / 0.8984 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.04208, allocations: 55.91 kB / 0.8985 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.04209, allocations: 0 / 0.8985 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.04211, allocations: 19.98 kB / 0.8985 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.04211, allocations: 0 / 0.8985 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.04211, allocations: 0 / 0.8985 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.0426, allocations: 286.6 kB / 0.8988 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.0427, allocations: 75.61 kB / 0.8988 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.04274, allocations: 8 kB / 0.8988 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.04284, allocations: 15.98 kB / 0.8989 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.0429, allocations: 27.95 kB / 0.8989 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.04292, allocations: 12 kB / 0.8989 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000125/0.04304, allocations: 197.1 kB / 0.8991 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.04304, allocations: 0 / 0.8991 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002802/0.04332, allocations: 67.92 kB / 0.8991 GB, free: 3.801 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.000887/0.04421, allocations: 356.2 kB / 0.8995 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.04452, allocations: 175.2 kB / 0.8997 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.04453, allocations: 0 / 0.8997 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.04467, allocations: 103.5 kB / 0.8998 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.04497, allocations: 64.39 kB / 0.8998 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.04607, allocations: 491 kB / 0.9003 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.504e-05/0.04614, allocations: 98.12 kB / 0.9004 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002574/0.04639, allocations: 146.8 kB / 0.9005 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.04648, allocations: 48.48 kB / 0.9006 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/0.04648, allocations: 0 / 0.9006 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of Templates: time 0.007186/0.05366, allocations: 3.608 MB / 0.9041 GB, free: 14.82 MB / 0.8698 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.135772690176964]