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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00131/0.00131, allocations: 192.7 kB / 16.14 MB, free: 6.645 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.821/2.821, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 73.72 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3716, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.005881/0.3775, allocations: 1.928 MB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004104/0.3816, allocations: 1.557 MB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.3818, allocations: 0 / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.3822, allocations: 27.89 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.3826, allocations: 63.69 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000872/0.3835, allocations: 150.9 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.3841, allocations: 261.4 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.3843, allocations: 25.34 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.3845, allocations: 91.75 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.3848, allocations: 99.69 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.3849, allocations: 16 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.3852, allocations: 75.97 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.3854, allocations: 79.73 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3856, allocations: 115.2 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.3862, allocations: 303 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.3862, allocations: 4 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3862, allocations: 3.938 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3862, allocations: 0 / 1.057 GB, free: 4.043 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.001403/0.3877, allocations: 0.5579 MB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.3877, allocations: 12.03 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/0.3881, allocations: 36.55 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.3887, allocations: 278.7 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.3888, allocations: 12.38 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.3888, allocations: 20.12 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.3895, allocations: 240.9 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3896, allocations: 0 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.3896, allocations: 8 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.3897, allocations: 8 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.3915, allocations: 0.7529 MB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.3934, allocations: 0.6409 MB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009551/0.3944, allocations: 305.9 kB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.3947, allocations: 113.4 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/0.3948, allocations: 20.23 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006681/0.3955, allocations: 184.5 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 3.597e-06/0.3955, allocations: 4 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.001417/0.3969, allocations: 380.9 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/0.3971, allocations: 132.5 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/0.3978, allocations: 309 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.3979, allocations: 33.7 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.3981, allocations: 132.7 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.3983, allocations: 118.3 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.3985, allocations: 69.55 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003122/0.3988, allocations: 334.8 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.3991, allocations: 83.95 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3995, allocations: 128.5 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006178/0.4001, allocations: 213.1 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4001, allocations: 0 / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008865/0.401, allocations: 285 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.4011, allocations: 5.094 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4011, allocations: 3.938 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.4011, allocations: 8 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.4016, allocations: 63.91 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.4016, allocations: 0 / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.4019, allocations: 23.83 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.4019, allocations: 16 kB / 1.062 GB, free: 14.31 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 (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.000286/0.4023, allocations: 163.3 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4024, allocations: 27.72 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.4037, allocations: 400.5 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4037, allocations: 4 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4037, allocations: 0 / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4037, allocations: 4 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/0.4045, allocations: 353.2 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.4045, allocations: 0 / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.4049, allocations: 55.91 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.4049, allocations: 4 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.4049, allocations: 11.94 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.405, allocations: 4 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.405, allocations: 3.984 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009913/0.406, allocations: 321.7 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.4063, allocations: 144.6 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.697e-05/0.4064, allocations: 11.94 kB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.4068, allocations: 27.97 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.4069, allocations: 19.97 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.407, allocations: 19.98 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004005/0.4074, allocations: 240.4 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4074, allocations: 0 / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005676/0.408, allocations: 60 kB / 1.064 GB, free: 12.37 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 (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.001788/0.4098, allocations: 409 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007121/0.4105, allocations: 228.1 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.4106, allocations: 4 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.4109, allocations: 135.7 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.4115, allocations: 45.8 kB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.4132, allocations: 0.6046 MB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.4137, allocations: 0.7653 MB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006419/0.4144, allocations: 150.8 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.4146, allocations: 39.42 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.4146, allocations: 0 / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.01047/0.4251, allocations: 3.301 MB / 1.069 GB, free: 6.844 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