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.001305/0.001305, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001423/0.001423, allocations: 215.6 kB / 22.99 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.732/2.732, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002145/0.002145, allocations: 68.98 kB / 1.118 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3459, allocations: 169.9 MB / 1.284 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003589/0.3495, allocations: 1.879 MB / 1.286 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.3524, allocations: 1.784 MB / 1.287 GB, free: 8 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.3524, allocations: 0 / 1.287 GB, free: 8 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.3527, allocations: 31.88 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.3531, allocations: 119.4 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.3535, allocations: 178.8 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.3538, allocations: 297.2 kB / 1.288 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3539, allocations: 25.23 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.3541, allocations: 103.7 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.3543, allocations: 99.69 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.3543, allocations: 20 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.3545, allocations: 123.9 kB / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3547, allocations: 99.67 kB / 1.288 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.3548, allocations: 99.45 kB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.3553, allocations: 382.5 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3553, allocations: 0 / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3553, allocations: 0 / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3553, allocations: 0 / 1.289 GB, free: 14.46 MB / 0.9981 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.0008486/0.3561, allocations: 0.5131 MB / 1.289 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3562, allocations: 12.03 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.3563, allocations: 32.75 kB / 1.289 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.3566, allocations: 224.9 kB / 1.29 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3567, allocations: 12.38 kB / 1.29 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.3567, allocations: 24.12 kB / 1.29 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.3572, allocations: 365.4 kB / 1.29 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3572, allocations: 3.984 kB / 1.29 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.3572, allocations: 15.94 kB / 1.29 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3572, allocations: 4 kB / 1.29 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009082/0.3581, allocations: 0.702 MB / 1.291 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3592, allocations: 0.5314 MB / 1.291 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.3597, allocations: 286.5 kB / 1.292 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.3598, allocations: 105.4 kB / 1.292 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.3599, allocations: 16.27 kB / 1.292 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.3603, allocations: 230.8 kB / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.3603, allocations: 0 / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.0007248/0.361, allocations: 383.5 kB / 1.292 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/0.3611, allocations: 132.5 kB / 1.292 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.3615, allocations: 321.1 kB / 1.293 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.3615, allocations: 33.7 kB / 1.293 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3616, allocations: 132.7 kB / 1.293 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.3617, allocations: 130.9 kB / 1.293 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3618, allocations: 65.69 kB / 1.293 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.362, allocations: 342.8 kB / 1.293 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.3622, allocations: 83.81 kB / 1.293 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.3624, allocations: 205.5 kB / 1.294 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.3628, allocations: 212.6 kB / 1.294 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3628, allocations: 0 / 1.294 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004746/0.3632, allocations: 293.7 kB / 1.294 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3632, allocations: 4 kB / 1.294 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3633, allocations: 0 / 1.294 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3633, allocations: 3.938 kB / 1.294 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.3635, allocations: 59.91 kB / 1.294 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3635, allocations: 8 kB / 1.294 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.3636, allocations: 23.88 kB / 1.294 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.3637, allocations: 12 kB / 1.294 GB, free: 8.738 MB / 0.9981 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.0001803/0.3639, allocations: 161.8 kB / 1.294 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.3639, allocations: 35.8 kB / 1.294 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000706/0.3646, allocations: 384.7 kB / 1.295 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3646, allocations: 7.938 kB / 1.295 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3646, allocations: 4 kB / 1.295 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3646, allocations: 7.969 kB / 1.295 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.3649, allocations: 249 kB / 1.295 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3649, allocations: 7.875 kB / 1.295 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.3651, allocations: 51.97 kB / 1.295 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3651, allocations: 8 kB / 1.295 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.3652, allocations: 15.98 kB / 1.295 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3652, allocations: 3.938 kB / 1.295 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3652, allocations: 3.938 kB / 1.295 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.3657, allocations: 330.5 kB / 1.295 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.3658, allocations: 67.73 kB / 1.295 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.3659, allocations: 8 kB / 1.295 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.366, allocations: 23.97 kB / 1.296 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.3661, allocations: 27.89 kB / 1.296 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.3661, allocations: 16 kB / 1.296 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000246/0.3664, allocations: 244.4 kB / 1.296 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3664, allocations: 0 / 1.296 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003341/0.3667, allocations: 87.81 kB / 1.296 GB, free: 6.957 MB / 0.9981 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.001672/0.3684, allocations: 497.9 kB / 1.296 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.3688, allocations: 219.7 kB / 1.297 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3688, allocations: 4 kB / 1.297 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.369, allocations: 127.7 kB / 1.297 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3693, allocations: 36.42 kB / 1.297 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.3703, allocations: 0.5737 MB / 1.297 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.3705, allocations: 159.4 kB / 1.297 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.3706, allocations: 55.34 kB / 1.297 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3706, allocations: 0 / 1.297 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of Templates: time 0.008359/0.379, allocations: 4.974 MB / 1.302 GB, free: 496 kB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.46925315214321]