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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00118/0.00118, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001235/0.001235, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.087/3.087, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004158, allocations: 10.94 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.354, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00257/0.3566, allocations: 1.554 MB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.3593, allocations: 1.472 MB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.3595, allocations: 7.938 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3598, allocations: 23.86 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.3602, allocations: 67.72 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.3608, allocations: 142.4 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.3612, allocations: 241.3 kB / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.3613, allocations: 29.09 kB / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.3615, allocations: 79.81 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.3617, allocations: 95.7 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.3618, allocations: 12 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.3621, allocations: 59.98 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.3622, allocations: 75.73 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.3623, allocations: 61.58 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.3626, allocations: 223.8 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3626, allocations: 4 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3626, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.3627, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 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.0008838/0.3635, allocations: 0.5121 MB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3636, allocations: 8.031 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.3638, allocations: 39.61 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3642, allocations: 261.6 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.3642, allocations: 15.94 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.3642, allocations: 27.95 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.3647, allocations: 236.9 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3647, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.3647, allocations: 4 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.3648, allocations: 4 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008653/0.3656, allocations: 0.749 MB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.3667, allocations: 0.6526 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.3672, allocations: 309.8 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.3674, allocations: 109.4 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.3674, allocations: 20.25 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.3678, allocations: 179.4 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.894e-06/0.3678, allocations: 4 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0006703/0.3685, allocations: 375.1 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.3686, allocations: 136.5 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.3689, allocations: 308.9 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.3689, allocations: 33.7 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3691, allocations: 132.7 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3692, allocations: 118.3 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.3692, allocations: 4 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3693, allocations: 338.8 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3695, allocations: 95.69 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.3696, allocations: 123.5 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.3698, allocations: 104 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3698, allocations: 3.938 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004268/0.3703, allocations: 285.5 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3703, allocations: 4 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3703, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3703, allocations: 8 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.3706, allocations: 59.91 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3706, allocations: 3.953 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3707, allocations: 27.83 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.3708, allocations: 15.98 kB / 1.067 GB, free: 11.66 MB / 0.8262 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.371, allocations: 165.8 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.371, allocations: 27.72 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.3717, allocations: 388.7 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3717, allocations: 4 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3717, allocations: 0 / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3717, allocations: 11.94 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.3721, allocations: 333.3 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3721, allocations: 4 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.3723, allocations: 59.91 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3723, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.3723, allocations: 19.98 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3723, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3723, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.3728, allocations: 333.4 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.3729, allocations: 148.6 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.373, allocations: 4 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.3732, allocations: 38.2 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.3732, allocations: 23.97 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.3733, allocations: 15.98 kB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002098/0.3735, allocations: 236.4 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3735, allocations: 0 / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003407/0.3738, allocations: 60 kB / 1.069 GB, free: 9.719 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.3749, allocations: 413.2 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.3753, allocations: 232.1 kB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3753, allocations: 4 kB / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.3755, allocations: 127.8 kB / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3758, allocations: 41.12 kB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.3767, allocations: 0.6006 MB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3771, allocations: 0.7614 MB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000351/0.3774, allocations: 150.8 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.3775, allocations: 47.36 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3776, allocations: 3.938 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of Templates: time 0.007337/0.3849, allocations: 3.158 MB / 1.074 GB, free: 4.336 MB / 0.8262 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/jenkins/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