Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 101.6 kB / 16.27 MB, free: 5.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 188.7 kB / 17.19 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.525/2.525, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.73 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3575, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003356/0.3609, allocations: 1.875 MB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3632, allocations: 1.573 MB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.3633, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.3636, allocations: 31.77 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.3639, allocations: 82.44 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.3643, allocations: 181.4 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.3647, allocations: 273.4 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3648, allocations: 29.38 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3649, allocations: 95.75 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.3651, allocations: 111.7 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.94e-05/0.3652, allocations: 20 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.3654, allocations: 87.91 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.3655, allocations: 91.73 kB / 1.069 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.3657, allocations: 123.3 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.366, allocations: 307 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3661, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3661, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3661, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 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.000819/0.3669, allocations: 0.5674 MB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3669, allocations: 8.031 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3671, allocations: 36.56 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.3675, allocations: 270.7 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3675, allocations: 16.38 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.3676, allocations: 24.06 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.368, allocations: 240.9 kB / 1.07 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.368, allocations: 4 kB / 1.07 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.368, allocations: 12 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.368, allocations: 4 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008677/0.3689, allocations: 0.7451 MB / 1.071 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.37, allocations: 0.6408 MB / 1.071 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.3705, allocations: 314.4 kB / 1.072 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.3707, allocations: 113.3 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.3707, allocations: 16.25 kB / 1.072 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.3711, allocations: 187.4 kB / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/0.3711, allocations: 0 / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.0007043/0.3718, allocations: 374.2 kB / 1.072 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.3719, allocations: 136.5 kB / 1.073 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.3722, allocations: 305 kB / 1.073 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.3722, allocations: 37.69 kB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.3723, allocations: 128.7 kB / 1.073 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/0.3724, allocations: 122.3 kB / 1.073 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.3725, allocations: 65.55 kB / 1.073 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3727, allocations: 342.8 kB / 1.073 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3728, allocations: 79.95 kB / 1.074 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.373, allocations: 125.8 kB / 1.074 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.3734, allocations: 221 kB / 1.074 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3734, allocations: 0 / 1.074 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004511/0.3738, allocations: 281.1 kB / 1.074 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3739, allocations: 10.03 kB / 1.074 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3739, allocations: 11.92 kB / 1.074 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3739, allocations: 0 / 1.074 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.3741, allocations: 59.91 kB / 1.074 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3741, allocations: 7.938 kB / 1.074 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.3743, allocations: 27.83 kB / 1.074 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.3743, allocations: 11.98 kB / 1.074 GB, free: 4.402 MB / 0.8419 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.0001701/0.3745, allocations: 161.8 kB / 1.074 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.3746, allocations: 31.62 kB / 1.074 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007525/0.3753, allocations: 392.7 kB / 1.075 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3754, allocations: 4 kB / 1.075 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3754, allocations: 0 / 1.075 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3754, allocations: 3.984 kB / 1.075 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.3758, allocations: 345.2 kB / 1.075 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3758, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.376, allocations: 63.91 kB / 1.075 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.376, allocations: 0 / 1.075 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.376, allocations: 19.92 kB / 1.075 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.376, allocations: 4 kB / 1.075 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.376, allocations: 0 / 1.075 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.3765, allocations: 321.7 kB / 1.076 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.3766, allocations: 148.6 kB / 1.076 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.3767, allocations: 7.938 kB / 1.076 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.3769, allocations: 23.97 kB / 1.076 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.377, allocations: 27.97 kB / 1.076 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.377, allocations: 16 kB / 1.076 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002107/0.3772, allocations: 236.4 kB / 1.076 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3772, allocations: 0 / 1.076 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000307/0.3775, allocations: 67.98 kB / 1.076 GB, free: 2.457 MB / 0.8419 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.0009572/0.3785, allocations: 410.1 kB / 1.076 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005295/0.379, allocations: 304.1 kB / 1.077 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3791, allocations: 4 kB / 1.077 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.3793, allocations: 135.7 kB / 1.077 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.3796, allocations: 40.42 kB / 1.077 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.3805, allocations: 0.5622 MB / 1.077 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.3809, allocations: 0.7736 MB / 1.078 GB, free: 344 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.381, allocations: 51.42 kB / 1.078 GB, free: 292 kB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.381, allocations: 0 / 1.078 GB, free: 292 kB / 0.8419 GB Notification: Performance of Templates: time 0.4928/0.8739, allocations: 4.472 MB / 1.083 GB, free: 21.73 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches