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.0009583/0.0009583, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009669/0.0009669, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9007/0.9007, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.805/1.805, allocations: 359 MB / 0.6063 GB, free: 10.88 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 1.172e-06/1.172e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.713e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002283/0.0023, allocations: 1.938 MB / 0.7902 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.004008, allocations: 1.83 MB / 0.792 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.004087, allocations: 8.562 kB / 0.792 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.004301, allocations: 31.72 kB / 0.7921 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.004658, allocations: 128.6 kB / 0.7922 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.004976, allocations: 176.2 kB / 0.7923 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.005227, allocations: 297.3 kB / 0.7926 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.005312, allocations: 21.84 kB / 0.7926 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02655/0.03186, allocations: 10.48 MB / 0.8029 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.032, allocations: 83.75 kB / 0.803 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.03204, allocations: 20 kB / 0.803 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.0322, allocations: 63.92 kB / 0.803 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.013e-05/0.03228, allocations: 99.06 kB / 0.8031 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.607e-05/0.03237, allocations: 79.75 kB / 0.8032 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.03275, allocations: 282.8 kB / 0.8035 GB, free: 380 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.03276, allocations: 0 / 0.8035 GB, free: 380 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.192e-06/0.03276, allocations: 0 / 0.8035 GB, free: 380 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.03277, allocations: 0 / 0.8035 GB, free: 380 kB / 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.000643/0.03341, allocations: 0.5979 MB / 0.8041 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.03345, allocations: 12.03 kB / 0.8041 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.0336, allocations: 52.67 kB / 0.8041 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.03384, allocations: 259.1 kB / 0.8044 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.03386, allocations: 16.75 kB / 0.8044 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.03388, allocations: 17.5 kB / 0.8044 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.03413, allocations: 307.7 kB / 0.8047 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.03414, allocations: 3.938 kB / 0.8047 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.03415, allocations: 12 kB / 0.8047 GB, free: 15 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.03416, allocations: 4 kB / 0.8047 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.03459, allocations: 0.5648 MB / 0.8053 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.03524, allocations: 0.5075 MB / 0.8058 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.03545, allocations: 174.2 kB / 0.8059 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.03551, allocations: 59.5 kB / 0.806 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.03554, allocations: 19.98 kB / 0.806 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.03572, allocations: 185.2 kB / 0.8062 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 2.074e-06/0.03572, allocations: 4 kB / 0.8062 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36): time 0.0003286/0.03605, allocations: 247.8 kB / 0.8064 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.0361, allocations: 114.8 kB / 0.8065 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.03624, allocations: 276.2 kB / 0.8068 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.03627, allocations: 37.69 kB / 0.8068 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.03634, allocations: 183.7 kB / 0.807 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.03641, allocations: 126.9 kB / 0.8071 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.03649, allocations: 83.3 kB / 0.8072 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.03661, allocations: 0.5156 MB / 0.8077 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.03665, allocations: 31.97 kB / 0.8077 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.03675, allocations: 142.4 kB / 0.8079 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.03688, allocations: 117.3 kB / 0.808 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.03688, allocations: 0 / 0.808 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002192/0.0371, allocations: 209.1 kB / 0.8082 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.03711, allocations: 11.28 kB / 0.8082 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.03712, allocations: 0 / 0.8082 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.03713, allocations: 0 / 0.8082 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.03727, allocations: 67.91 kB / 0.8083 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.03727, allocations: 0 / 0.8083 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.975e-05/0.03734, allocations: 19.89 kB / 0.8083 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.03736, allocations: 19.92 kB / 0.8083 GB, free: 11.14 MB / 0.7605 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.686e-05/0.03746, allocations: 176.5 kB / 0.8085 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.0375, allocations: 47.81 kB / 0.8085 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.03782, allocations: 292.9 kB / 0.8088 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.03782, allocations: 4 kB / 0.8088 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.03783, allocations: 3.984 kB / 0.8088 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.03783, allocations: 0 / 0.8088 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.038, allocations: 204.9 kB / 0.809 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.03801, allocations: 4 kB / 0.809 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.03811, allocations: 59.91 kB / 0.8091 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.03811, allocations: 4 kB / 0.8091 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.03812, allocations: 8 kB / 0.8091 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.03812, allocations: 0 / 0.8091 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03813, allocations: 4 kB / 0.8091 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.03836, allocations: 273.2 kB / 0.8093 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.03844, allocations: 67.67 kB / 0.8094 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.03846, allocations: 8 kB / 0.8094 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.03854, allocations: 15.98 kB / 0.8094 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.03858, allocations: 27.95 kB / 0.8095 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.03859, allocations: 11.98 kB / 0.8095 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.061e-05/0.03867, allocations: 193.1 kB / 0.8096 GB, free: 9.695 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03867, allocations: 0 / 0.8096 GB, free: 9.695 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000193/0.03887, allocations: 59.95 kB / 0.8097 GB, free: 9.637 MB / 0.7605 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.000725/0.03959, allocations: 352.4 kB / 0.81 GB, free: 9.406 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.03979, allocations: 144.3 kB / 0.8102 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03979, allocations: 0 / 0.8102 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.313e-05/0.03988, allocations: 107.2 kB / 0.8103 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.04009, allocations: 52.41 kB / 0.8103 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.04084, allocations: 483 kB / 0.8108 GB, free: 8.605 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.396e-05/0.04089, allocations: 90.12 kB / 0.8109 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.04103, allocations: 82.95 kB / 0.811 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.04121, allocations: 170 kB / 0.8111 GB, free: 8.25 MB / 0.7605 GB Notification: Performance of SimCode: time 9.82e-07/0.04121, allocations: 0 / 0.8111 GB, free: 8.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.005428/0.04663, allocations: 3.76 MB / 0.8148 GB, free: 4.539 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.044063844252378]