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.0009927/0.0009927, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.001171/0.001171, allocations: 169.7 kB / 23.27 MB, free: 1.23 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.9902/0.9902, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.236/2.236, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.823e-06/1.823e-06, allocations: 0 / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.919e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003017/0.003046, allocations: 1.946 MB / 0.8917 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.005055, allocations: 1.827 MB / 0.8934 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.005155, allocations: 11.94 kB / 0.8934 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.005398, allocations: 39.64 kB / 0.8935 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.005802, allocations: 119.3 kB / 0.8936 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.006145, allocations: 183.3 kB / 0.8938 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.006415, allocations: 297.3 kB / 0.8941 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.006527, allocations: 21.3 kB / 0.8941 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02728/0.03381, allocations: 9.709 MB / 0.9036 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.03399, allocations: 87.73 kB / 0.9036 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.03404, allocations: 20 kB / 0.9037 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.03425, allocations: 71.92 kB / 0.9037 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-05/0.03435, allocations: 87.73 kB / 0.9038 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.03444, allocations: 79.75 kB / 0.9039 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.03491, allocations: 282.8 kB / 0.9042 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.03492, allocations: 0 / 0.9042 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.492e-06/0.03492, allocations: 0 / 0.9042 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.03493, allocations: 0 / 0.9042 GB, free: 14.38 MB / 0.8698 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.0007522/0.03568, allocations: 0.6017 MB / 0.9047 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.03572, allocations: 8.625 kB / 0.9048 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.0359, allocations: 60.64 kB / 0.9048 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.03618, allocations: 254.2 kB / 0.9051 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.03621, allocations: 20.69 kB / 0.9051 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.03624, allocations: 16.38 kB / 0.9051 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.03655, allocations: 303.7 kB / 0.9054 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.03656, allocations: 7.922 kB / 0.9054 GB, free: 13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.03658, allocations: 12 kB / 0.9054 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.03659, allocations: 4 kB / 0.9054 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.03719, allocations: 0.5648 MB / 0.906 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000797/0.03798, allocations: 0.5036 MB / 0.9064 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.03825, allocations: 178.8 kB / 0.9066 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.03832, allocations: 56.48 kB / 0.9067 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/0.03838, allocations: 43.77 kB / 0.9067 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.03861, allocations: 185.4 kB / 0.9069 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.996e-06/0.03861, allocations: 0 / 0.9069 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.0003985/0.03901, allocations: 245 kB / 0.9071 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.03907, allocations: 122.7 kB / 0.9072 GB, free: 11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.03926, allocations: 276.2 kB / 0.9075 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.03929, allocations: 29.7 kB / 0.9075 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.03939, allocations: 199.7 kB / 0.9077 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.03948, allocations: 122.9 kB / 0.9078 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.03957, allocations: 75.31 kB / 0.9079 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.03972, allocations: 0.5195 MB / 0.9084 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.03979, allocations: 35.95 kB / 0.9085 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.03991, allocations: 142.8 kB / 0.9086 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.04008, allocations: 111.4 kB / 0.9087 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.04008, allocations: 4 kB / 0.9087 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002876/0.04037, allocations: 209.5 kB / 0.9089 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.04038, allocations: 7.594 kB / 0.9089 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.04039, allocations: 4 kB / 0.9089 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.0404, allocations: 4.031 kB / 0.9089 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.04059, allocations: 63.91 kB / 0.909 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.04059, allocations: 3.984 kB / 0.909 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.104e-05/0.04069, allocations: 27.84 kB / 0.909 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.0407, allocations: 11.94 kB / 0.909 GB, free: 9.102 MB / 0.8698 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.0001317/0.04084, allocations: 180.5 kB / 0.9092 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.04089, allocations: 43.81 kB / 0.9092 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.04133, allocations: 286 kB / 0.9095 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.04133, allocations: 7.938 kB / 0.9095 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.04133, allocations: 0 / 0.9095 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.04134, allocations: 3.984 kB / 0.9095 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.04156, allocations: 204.9 kB / 0.9097 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.04156, allocations: 4 kB / 0.9097 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.0417, allocations: 55.91 kB / 0.9098 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.0417, allocations: 4 kB / 0.9098 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.04172, allocations: 15.97 kB / 0.9098 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.04172, allocations: 4 kB / 0.9098 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.04172, allocations: 0 / 0.9098 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.04204, allocations: 269.4 kB / 0.91 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.04213, allocations: 75.62 kB / 0.9101 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.04216, allocations: 4 kB / 0.9101 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.04226, allocations: 15.98 kB / 0.9101 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.04231, allocations: 31.95 kB / 0.9102 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.04233, allocations: 11.98 kB / 0.9102 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001024/0.04243, allocations: 189.1 kB / 0.9104 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.04243, allocations: 0 / 0.9104 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002612/0.04269, allocations: 59.94 kB / 0.9104 GB, free: 7.598 MB / 0.8698 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.0008411/0.04354, allocations: 351.8 kB / 0.9108 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.04378, allocations: 155.1 kB / 0.9109 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.04378, allocations: 0 / 0.9109 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.04389, allocations: 95.48 kB / 0.911 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.04415, allocations: 55.84 kB / 0.911 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009687/0.04512, allocations: 479.9 kB / 0.9115 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.817e-05/0.04519, allocations: 94.12 kB / 0.9116 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.04536, allocations: 78.95 kB / 0.9117 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.04558, allocations: 170.1 kB / 0.9118 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of SimCode: time 8.02e-07/0.04558, allocations: 0 / 0.9118 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of Templates: time 0.006725/0.05231, allocations: 3.705 MB / 0.9155 GB, free: 2.551 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.529810286127031]