Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 249.4 MB, free: 3.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 71.88 kB / 1.059 GB, free: 320 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3728, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003873/0.3767, allocations: 1.909 MB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002464/0.3791, allocations: 1.652 MB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.3792, allocations: 4 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.3794, allocations: 23.8 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.3797, allocations: 79.53 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.3802, allocations: 175.2 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.3806, allocations: 285.3 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3807, allocations: 25.06 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3808, allocations: 91.81 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.381, allocations: 114 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.3811, allocations: 20 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.3812, allocations: 83.95 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3814, allocations: 95.73 kB / 1.221 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3815, allocations: 119.3 kB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.3819, allocations: 326.6 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3819, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3819, allocations: 4 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.3819, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 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.0008877/0.3828, allocations: 0.5729 MB / 1.222 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3828, allocations: 12.03 kB / 1.222 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.383, allocations: 32.75 kB / 1.222 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.3833, allocations: 274.9 kB / 1.222 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3834, allocations: 12.38 kB / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.3834, allocations: 20.12 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.3838, allocations: 244.9 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3838, allocations: 0 / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.3839, allocations: 11.94 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3839, allocations: 4 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.3849, allocations: 0.749 MB / 1.223 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3859, allocations: 0.6371 MB / 1.223 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.3864, allocations: 289.9 kB / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.3866, allocations: 101.4 kB / 1.224 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.3867, allocations: 16.25 kB / 1.224 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.3871, allocations: 192.5 kB / 1.224 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 1.532e-06/0.3871, allocations: 3.938 kB / 1.224 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.0007427/0.3878, allocations: 376.9 kB / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.3879, allocations: 136.5 kB / 1.225 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.3882, allocations: 312.9 kB / 1.225 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.3883, allocations: 33.7 kB / 1.225 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3884, allocations: 132.7 kB / 1.225 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3885, allocations: 126.9 kB / 1.225 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3886, allocations: 61.69 kB / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3888, allocations: 342.8 kB / 1.226 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3889, allocations: 79.95 kB / 1.226 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.3891, allocations: 127.3 kB / 1.226 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3895, allocations: 218.3 kB / 1.226 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3895, allocations: 0 / 1.226 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004728/0.3899, allocations: 285.1 kB / 1.226 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.39, allocations: 8 kB / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.39, allocations: 7.938 kB / 1.226 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.39, allocations: 0 / 1.226 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.3902, allocations: 63.91 kB / 1.226 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3902, allocations: 4 kB / 1.226 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3904, allocations: 26.83 kB / 1.226 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.3904, allocations: 11.98 kB / 1.226 GB, free: 4.57 MB / 0.9669 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.0001804/0.3906, allocations: 161.8 kB / 1.226 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.3906, allocations: 31.81 kB / 1.226 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007137/0.3913, allocations: 388.8 kB / 1.227 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3914, allocations: 4 kB / 1.227 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3914, allocations: 4 kB / 1.227 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3914, allocations: 3.984 kB / 1.227 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.3918, allocations: 349.2 kB / 1.227 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3918, allocations: 0 / 1.227 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.3919, allocations: 59.91 kB / 1.227 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3919, allocations: 0 / 1.227 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.392, allocations: 15.92 kB / 1.227 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.392, allocations: 0 / 1.227 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.392, allocations: 4 kB / 1.227 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.3925, allocations: 321.8 kB / 1.228 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3926, allocations: 148.8 kB / 1.228 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.3926, allocations: 11.88 kB / 1.228 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.3928, allocations: 23.98 kB / 1.228 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.3929, allocations: 31.81 kB / 1.228 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.3929, allocations: 16.05 kB / 1.228 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002146/0.3931, allocations: 236.4 kB / 1.228 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3931, allocations: 0 / 1.228 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002995/0.3934, allocations: 67.89 kB / 1.228 GB, free: 2.621 MB / 0.9669 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.001427/0.3949, allocations: 401.9 kB / 1.228 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004472/0.3953, allocations: 228.2 kB / 1.229 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3953, allocations: 4 kB / 1.229 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.3955, allocations: 116.3 kB / 1.229 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3958, allocations: 46.69 kB / 1.229 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.3968, allocations: 0.5481 MB / 1.229 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.3972, allocations: 0.7658 MB / 1.23 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003365/0.3975, allocations: 142.8 kB / 1.23 GB, free: 492 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3976, allocations: 51.41 kB / 1.23 GB, free: 440 kB / 0.9669 GB Notification: Performance of SimCode: time 6.91e-07/0.3976, allocations: 3.938 kB / 1.23 GB, free: 436 kB / 0.9669 GB Notification: Performance of Templates: time 0.007933/0.4055, allocations: 3.512 MB / 1.234 GB, free: 12.95 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.599282160401344]