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.001868/0.001868, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002328/0.002328, allocations: 214.5 kB / 22.25 MB, free: 4.859 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.55/1.55, allocations: 230.6 MB / 256 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.966/2.966, allocations: 475.9 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] 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.002183/0.002183, allocations: 66.5 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3939, allocations: 170 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003871/0.3978, allocations: 1.883 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.4009, allocations: 1.781 MB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.401, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.4013, allocations: 39.72 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005117/0.4018, allocations: 123.4 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.4023, allocations: 174.6 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.4027, allocations: 293.3 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.4028, allocations: 17.3 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.4029, allocations: 103.8 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.4032, allocations: 95.64 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.4032, allocations: 28 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.4035, allocations: 131.9 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.4036, allocations: 83.81 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.4037, allocations: 103.4 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.4042, allocations: 382.4 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4043, allocations: 0 / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4043, allocations: 0 / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.4043, allocations: 0 / 1.288 GB, free: 6.707 MB / 0.9825 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.0009058/0.4052, allocations: 0.5169 MB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4052, allocations: 12.03 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.4054, allocations: 36.75 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.4057, allocations: 221.1 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.4058, allocations: 12.38 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.4058, allocations: 20.12 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.4063, allocations: 369.4 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4064, allocations: 0 / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.4064, allocations: 8 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4064, allocations: 4 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009345/0.4073, allocations: 0.7021 MB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.4084, allocations: 0.5392 MB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.409, allocations: 282.6 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.4091, allocations: 101.4 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.4092, allocations: 16.2 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/0.4096, allocations: 234.8 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.4096, allocations: 0 / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007456/0.4104, allocations: 379.5 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.4105, allocations: 140.5 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.4108, allocations: 321.1 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.4108, allocations: 33.7 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4109, allocations: 140.7 kB / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.4111, allocations: 126.9 kB / 1.292 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.4112, allocations: 65.67 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4113, allocations: 338.8 kB / 1.293 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.4115, allocations: 87.75 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.4117, allocations: 205.5 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.4121, allocations: 212.6 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4121, allocations: 0 / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004793/0.4126, allocations: 285.7 kB / 1.293 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4126, allocations: 8 kB / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4126, allocations: 3.984 kB / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4126, allocations: 7.922 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.4129, allocations: 63.97 kB / 1.293 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4129, allocations: 0 / 1.293 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.413, allocations: 27.81 kB / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.4131, allocations: 15.98 kB / 1.293 GB, free: 0.9648 MB / 0.9825 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.000184/0.4132, allocations: 157.8 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.4133, allocations: 31.81 kB / 1.294 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.414, allocations: 392.7 kB / 1.294 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.414, allocations: 7.938 kB / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.414, allocations: 0 / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.414, allocations: 7.984 kB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.4143, allocations: 245 kB / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4143, allocations: 0 / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.4145, allocations: 63.91 kB / 1.294 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4145, allocations: 0 / 1.294 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.4146, allocations: 8 kB / 1.294 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4146, allocations: 0 / 1.294 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.4146, allocations: 7.938 kB / 1.294 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.4151, allocations: 326.5 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.4153, allocations: 71.67 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.4153, allocations: 11.98 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4155, allocations: 27.98 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.4156, allocations: 23.89 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.4156, allocations: 19.98 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002642/0.4159, allocations: 244.4 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4159, allocations: 0 / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003582/0.4162, allocations: 91.75 kB / 1.295 GB, free: 15.2 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.001774/0.418, allocations: 499.2 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.4185, allocations: 223.7 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4185, allocations: 0 / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.4187, allocations: 123.7 kB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.419, allocations: 40.42 kB / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.4199, allocations: 0.5369 MB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.4201, allocations: 155.4 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000347/0.4205, allocations: 150.9 kB / 1.297 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.596e-05/0.4206, allocations: 47.41 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of SimCode: time 6.02e-07/0.4206, allocations: 4 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of Templates: time 0.008941/0.4295, allocations: 4.023 MB / 1.301 GB, free: 9.613 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins/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: 9.441054031252861]