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.001311/0.001311, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001441/0.001441, allocations: 210.8 kB / 22.98 MB, free: 4.984 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.079/3.079, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] 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.002034/0.002034, allocations: 70.77 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3176, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003534/0.3211, allocations: 1.892 MB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002752/0.3239, allocations: 1.781 MB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.324, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.3242, allocations: 31.72 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.3246, allocations: 119.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.3251, allocations: 174.1 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.3254, allocations: 293.3 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3256, allocations: 21.3 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.3257, allocations: 115.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.3259, allocations: 112.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.326, allocations: 20 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.3262, allocations: 127.9 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.3263, allocations: 91.73 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.3264, allocations: 99.45 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.3269, allocations: 386.4 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3269, allocations: 4 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3269, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3269, allocations: 0 / 1.332 GB, free: 11.74 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.0008724/0.3278, allocations: 0.5208 MB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.3278, allocations: 8.031 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.328, allocations: 32.75 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3283, allocations: 225 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.3284, allocations: 16.31 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.3284, allocations: 20.12 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.3289, allocations: 374.1 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3289, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3289, allocations: 7.938 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.329, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009524/0.3299, allocations: 0.6943 MB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3309, allocations: 0.547 MB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.3315, allocations: 287.1 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.3317, allocations: 105.4 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.3317, allocations: 12.27 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004158/0.3321, allocations: 238.8 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.3321, allocations: 0 / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007457/0.3329, allocations: 382 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.333, allocations: 136.5 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.3333, allocations: 321.1 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.3334, allocations: 33.7 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3335, allocations: 136.7 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3336, allocations: 119 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3337, allocations: 69.55 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3339, allocations: 338.8 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.334, allocations: 79.95 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.3343, allocations: 212.6 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.3346, allocations: 209.2 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3346, allocations: 8 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004752/0.3351, allocations: 281.1 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3351, allocations: 4 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3351, allocations: 0 / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3351, allocations: 7.938 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.3354, allocations: 67.89 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3354, allocations: 0 / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.3355, allocations: 22 kB / 1.338 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.3356, allocations: 15.98 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.000173/0.3357, allocations: 169.7 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.3358, allocations: 27.81 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007434/0.3365, allocations: 384.7 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.3365, allocations: 15.88 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3365, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.3366, allocations: 3.984 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.3368, allocations: 249 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3369, allocations: 0 / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.337, allocations: 63.91 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.337, allocations: 0 / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.3371, allocations: 11.98 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3371, allocations: 8 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3371, allocations: 3.938 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.3376, allocations: 326.5 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.3377, allocations: 71.72 kB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.3378, allocations: 8 kB / 1.339 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.338, allocations: 19.98 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.338, allocations: 35.88 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.3381, allocations: 12 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002402/0.3383, allocations: 244.4 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3383, allocations: 4 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003387/0.3387, allocations: 83.81 kB / 1.339 GB, free: 4.234 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.001682/0.3403, allocations: 499.8 kB / 1.34 GB, free: 3.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.3408, allocations: 227.6 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3408, allocations: 0 / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.341, allocations: 116.6 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.3413, allocations: 48.41 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.3422, allocations: 0.5356 MB / 1.341 GB, free: 2.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.3424, allocations: 162.8 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003411/0.3427, allocations: 146.8 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.3428, allocations: 43.42 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/0.3428, allocations: 3.938 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of Templates: time 0.008976/0.3518, allocations: 4.125 MB / 1.345 GB, free: 14.54 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 gbode -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: 8.592852884990862]