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.00164/0.00164, allocations: 77.7 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001838/0.001838, allocations: 157.9 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] 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.849/2.849, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 71.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9481/0.9503, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004141/0.9544, allocations: 1.885 MB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003247/0.9577, allocations: 1.787 MB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.661e-05/0.9578, allocations: 6.375 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.958, allocations: 29.47 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.9586, allocations: 131.1 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.9592, allocations: 173.1 kB / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.9597, allocations: 292.9 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.9598, allocations: 21.38 kB / 1.191 GB, free: 13.37 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.96, allocations: 104 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.9602, allocations: 93.75 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.989e-05/0.9603, allocations: 20.69 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.9606, allocations: 131.5 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.9608, allocations: 91.8 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.9609, allocations: 104.1 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.9615, allocations: 383 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9615, allocations: 1.094 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9615, allocations: 0 / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.9615, allocations: 0.6094 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009392/0.9625, allocations: 0.507 MB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.9625, allocations: 9.594 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.9627, allocations: 38.53 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.9632, allocations: 222.6 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.9632, allocations: 12.88 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.9632, allocations: 23.38 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005946/0.9638, allocations: 371.5 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.9638, allocations: 3.938 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.9639, allocations: 10.56 kB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.9639, allocations: 4.391 kB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.9654, allocations: 0.6974 MB / 1.194 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.9668, allocations: 0.54 MB / 1.194 GB, free: 11.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.9675, allocations: 285.5 kB / 1.194 GB, free: 11.53 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.9678, allocations: 105.7 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.439e-05/0.9679, allocations: 13.03 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005109/0.9684, allocations: 239.1 kB / 1.195 GB, free: 11.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=35): time 2.544e-06/0.9684, allocations: 0 / 1.195 GB, free: 11.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=35): time 0.0009911/0.9694, allocations: 382.1 kB / 1.195 GB, free: 11.19 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.9694, allocations: 132.8 kB / 1.195 GB, free: 11.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.9699, allocations: 323.7 kB / 1.195 GB, free: 10.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.9699, allocations: 31.11 kB / 1.196 GB, free: 10.83 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.97, allocations: 138.8 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.9701, allocations: 119.3 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.9702, allocations: 74.72 kB / 1.196 GB, free: 10.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.9703, allocations: 338.8 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.9705, allocations: 81.23 kB / 1.196 GB, free: 10.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.9708, allocations: 212.3 kB / 1.196 GB, free: 10.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.9713, allocations: 211.5 kB / 1.197 GB, free: 9.977 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9713, allocations: 0 / 1.197 GB, free: 9.977 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006479/0.9719, allocations: 283.9 kB / 1.197 GB, free: 9.859 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.9719, allocations: 4.875 kB / 1.197 GB, free: 9.859 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.972, allocations: 0 / 1.197 GB, free: 9.859 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.972, allocations: 10.31 kB / 1.197 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.9723, allocations: 69.11 kB / 1.197 GB, free: 9.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.9723, allocations: 1.344 kB / 1.197 GB, free: 9.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.9726, allocations: 33.62 kB / 1.197 GB, free: 9.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.9726, allocations: 18.72 kB / 1.197 GB, free: 9.812 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (36): * Single equations (assignments): 36 * 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.0001792/0.9728, allocations: 162.7 kB / 1.197 GB, free: 9.676 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.9729, allocations: 30.59 kB / 1.197 GB, free: 9.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009383/0.9738, allocations: 387.6 kB / 1.198 GB, free: 9.492 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.9738, allocations: 7.453 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.9738, allocations: 1.406 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.9738, allocations: 2.109 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.9742, allocations: 238.1 kB / 1.198 GB, free: 9.316 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9742, allocations: 5.031 kB / 1.198 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.9744, allocations: 65.81 kB / 1.198 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.9745, allocations: 1.219 kB / 1.198 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.9745, allocations: 9.891 kB / 1.198 GB, free: 9.297 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9745, allocations: 2.984 kB / 1.198 GB, free: 9.297 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9745, allocations: 3.938 kB / 1.198 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.9752, allocations: 328.6 kB / 1.198 GB, free: 9.137 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.9754, allocations: 76.25 kB / 1.198 GB, free: 9.098 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.9754, allocations: 6.547 kB / 1.198 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.9757, allocations: 26.36 kB / 1.198 GB, free: 9.086 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.9758, allocations: 30.41 kB / 1.198 GB, free: 9.078 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.9758, allocations: 20.11 kB / 1.198 GB, free: 9.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003231/0.9762, allocations: 247.4 kB / 1.199 GB, free: 8.941 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9762, allocations: 1.062 kB / 1.199 GB, free: 8.941 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006296/0.9768, allocations: 84.62 kB / 1.199 GB, free: 8.918 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002362/0.9792, allocations: 484.8 kB / 1.199 GB, free: 8.707 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006959/0.9799, allocations: 225.2 kB / 1.199 GB, free: 8.645 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9799, allocations: 0.7812 kB / 1.199 GB, free: 8.645 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.9802, allocations: 123.2 kB / 1.199 GB, free: 8.609 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.9807, allocations: 47.8 kB / 1.2 GB, free: 8.586 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.982, allocations: 0.5452 MB / 1.2 GB, free: 8.281 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.9822, allocations: 153.7 kB / 1.2 GB, free: 8.199 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005557/0.9827, allocations: 152.2 kB / 1.2 GB, free: 8.156 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.9829, allocations: 45.97 kB / 1.2 GB, free: 8.145 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/0.9829, allocations: 0 / 1.2 GB, free: 8.145 MB / 1.076 GB Notification: Performance of Templates: time 0.01165/0.9945, allocations: 3.836 MB / 1.204 GB, free: 7.621 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.94429138104897]