Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002118/0.002118, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002849/0.002849, allocations: 209.8 kB / 22.99 MB, free: 4.957 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.635/1.635, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.293/3.293, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.003/0.003, allocations: 75.27 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4429, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00349/0.4464, allocations: 1.89 MB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.4492, allocations: 1.777 MB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.4493, allocations: 3.938 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.4495, allocations: 31.77 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.4499, allocations: 123.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.4504, allocations: 166.6 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.4508, allocations: 301.2 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.4509, allocations: 21.3 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.451, allocations: 99.75 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.4512, allocations: 119.6 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.4513, allocations: 20 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.4515, allocations: 131.9 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.4516, allocations: 91.73 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.4517, allocations: 107.4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.4522, allocations: 374.5 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4522, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4522, allocations: 3.938 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4522, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 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.0008867/0.4531, allocations: 0.519 MB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4532, allocations: 8.031 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.4533, allocations: 36.73 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.4537, allocations: 229 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.4537, allocations: 8.375 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.4537, allocations: 24.12 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.4543, allocations: 374 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4543, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.4543, allocations: 8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.4543, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00096/0.4553, allocations: 0.6943 MB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.4564, allocations: 0.5431 MB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.4569, allocations: 299 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.4571, allocations: 101.4 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.4571, allocations: 16.27 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004319/0.4575, allocations: 230.8 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.734e-06/0.4575, allocations: 0 / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007423/0.4583, allocations: 382 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/0.4584, allocations: 136.5 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.4587, allocations: 321.1 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4588, allocations: 29.7 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4589, allocations: 144.7 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.459, allocations: 119 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.4591, allocations: 69.55 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4593, allocations: 342.8 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.4594, allocations: 79.95 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.4597, allocations: 204.6 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.46, allocations: 209.2 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.46, allocations: 0 / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004914/0.4605, allocations: 297 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4605, allocations: 4 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4605, allocations: 4 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4606, allocations: 7.938 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.4608, allocations: 59.91 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4608, allocations: 0 / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.461, allocations: 23.88 kB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.461, allocations: 12 kB / 1.338 GB, free: 6 MB / 1.029 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.0001763/0.4612, allocations: 169.7 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.4613, allocations: 27.81 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/0.462, allocations: 384.7 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.462, allocations: 7.938 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.462, allocations: 0 / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.462, allocations: 0 / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.4623, allocations: 257 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4623, allocations: 0 / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.4625, allocations: 59.91 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4625, allocations: 0 / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.4625, allocations: 16 kB / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.4625, allocations: 7.938 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.4625, allocations: 3.938 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.4631, allocations: 334.4 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.4632, allocations: 63.73 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.4633, allocations: 8 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.4635, allocations: 29.8 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.4635, allocations: 31.89 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.4636, allocations: 11.98 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000246/0.4638, allocations: 244.4 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4638, allocations: 0 / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003476/0.4642, allocations: 83.83 kB / 1.339 GB, free: 4.238 MB / 1.029 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.001767/0.4659, allocations: 0.4937 MB / 1.34 GB, free: 3.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.4664, allocations: 219.7 kB / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4664, allocations: 4 kB / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.4666, allocations: 124.6 kB / 1.34 GB, free: 3.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.4669, allocations: 40.97 kB / 1.34 GB, free: 3.551 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.4679, allocations: 0.533 MB / 1.341 GB, free: 2.988 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.468, allocations: 158.8 kB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003549/0.4684, allocations: 150.8 kB / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4685, allocations: 47.41 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4685, allocations: 0 / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of Templates: time 0.009395/0.4779, allocations: 4.127 MB / 1.345 GB, free: 14.55 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.662636217995896]