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.001993/0.001993, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.0024/0.0024, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 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.521/1.521, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.94/2.94, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.336e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004599/0.004632, allocations: 1.886 MB / 0.8127 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.0077, allocations: 1.803 MB / 0.8144 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.007769, allocations: 0 / 0.8144 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.008008, allocations: 31.67 kB / 0.8144 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.008433, allocations: 128.4 kB / 0.8146 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.008881, allocations: 164.8 kB / 0.8147 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.009301, allocations: 301.2 kB / 0.815 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.009421, allocations: 31.44 kB / 0.815 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.009626, allocations: 139.8 kB / 0.8152 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.009855, allocations: 95.8 kB / 0.8153 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.009904, allocations: 23.94 kB / 0.8153 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.01019, allocations: 127.8 kB / 0.8154 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.01032, allocations: 95.72 kB / 0.8155 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.01045, allocations: 85.16 kB / 0.8156 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.01109, allocations: 398.6 kB / 0.816 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01109, allocations: 0 / 0.816 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01109, allocations: 0 / 0.816 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.0111, allocations: 0.6562 kB / 0.816 GB, free: 11.7 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001049/0.01215, allocations: 0.5224 MB / 0.8165 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.01219, allocations: 12.03 kB / 0.8165 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.01242, allocations: 52.64 kB / 0.8165 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.01279, allocations: 231.1 kB / 0.8168 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.01282, allocations: 12.75 kB / 0.8168 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.01287, allocations: 24.38 kB / 0.8168 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.01344, allocations: 377.2 kB / 0.8172 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.01346, allocations: 3.938 kB / 0.8172 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.01349, allocations: 4 kB / 0.8172 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.01349, allocations: 4.844 kB / 0.8172 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.01454, allocations: 0.7054 MB / 0.8179 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.01575, allocations: 0.5442 MB / 0.8184 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.01634, allocations: 304.2 kB / 0.8187 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.01653, allocations: 100.8 kB / 0.8188 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.01658, allocations: 17.52 kB / 0.8188 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004814/0.01706, allocations: 240 kB / 0.819 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=36): time 1.903e-06/0.01706, allocations: 0 / 0.819 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36): time 0.0008391/0.0179, allocations: 394.2 kB / 0.8194 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.01802, allocations: 142.3 kB / 0.8195 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.01843, allocations: 325.8 kB / 0.8198 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.01847, allocations: 33.7 kB / 0.8199 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.0186, allocations: 145 kB / 0.82 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.01873, allocations: 123 kB / 0.8201 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.01886, allocations: 71.16 kB / 0.8202 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.01906, allocations: 334.8 kB / 0.8205 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.01923, allocations: 91.89 kB / 0.8206 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.01952, allocations: 210 kB / 0.8208 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.01993, allocations: 226 kB / 0.821 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01994, allocations: 0 / 0.821 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005523/0.02049, allocations: 301.2 kB / 0.8213 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.02051, allocations: 8.531 kB / 0.8213 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.02051, allocations: 0 / 0.8213 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.02053, allocations: 0.5312 kB / 0.8213 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.02078, allocations: 60.81 kB / 0.8214 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.02079, allocations: 4 kB / 0.8214 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.02097, allocations: 36.55 kB / 0.8214 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.021, allocations: 11.98 kB / 0.8214 GB, free: 5.84 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (38): * Single equations (assignments): 38 * 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.000205/0.0212, allocations: 167.7 kB / 0.8216 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/0.02129, allocations: 39.81 kB / 0.8216 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007977/0.02209, allocations: 387.7 kB / 0.822 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.0221, allocations: 5.281 kB / 0.822 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.0221, allocations: 0 / 0.822 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.02211, allocations: 7.922 kB / 0.822 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.02245, allocations: 245 kB / 0.8222 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.02245, allocations: 0.75 kB / 0.8222 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.02265, allocations: 59.91 kB / 0.8223 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/0.02267, allocations: 4.875 kB / 0.8223 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.02269, allocations: 8 kB / 0.8223 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.0227, allocations: 13.53 kB / 0.8223 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0227, allocations: 0 / 0.8223 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.0233, allocations: 347.2 kB / 0.8227 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.02345, allocations: 79.61 kB / 0.8227 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.0235, allocations: 5.094 kB / 0.8227 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.0237, allocations: 26.09 kB / 0.8228 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.02377, allocations: 31.19 kB / 0.8228 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.0238, allocations: 12 kB / 0.8228 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002847/0.02409, allocations: 249.2 kB / 0.823 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.02409, allocations: 0 / 0.823 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000372/0.02446, allocations: 95.69 kB / 0.8231 GB, free: 4.043 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002017/0.02648, allocations: 498.2 kB / 0.8236 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004787/0.02696, allocations: 235.7 kB / 0.8238 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02696, allocations: 0 / 0.8238 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.02718, allocations: 116.9 kB / 0.8239 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.02752, allocations: 62.27 kB / 0.824 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.02868, allocations: 0.5727 MB / 0.8246 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.02886, allocations: 155 kB / 0.8247 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003412/0.0292, allocations: 141.7 kB / 0.8248 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.02931, allocations: 52.47 kB / 0.8249 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.02931, allocations: 0 / 0.8249 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of Templates: time 0.009534/0.03885, allocations: 4.015 MB / 0.8288 GB, free: 14.46 MB / 0.7448 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 -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/jenkins/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.054202208993956]