Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_11_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_11_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.001355/0.001356, allocations: 110.3 kB / 15.99 MB, free: 6.355 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.001293/0.001293, allocations: 194 kB / 16.91 MB, free: 6.191 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.415/1.415, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.852/2.852, allocations: 469.8 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 64.62 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3746, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004298/0.379, allocations: 1.932 MB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.3819, allocations: 1.549 MB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.382, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.3824, allocations: 27.84 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.3828, allocations: 67.73 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.3834, allocations: 157.1 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.3838, allocations: 277.4 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3839, allocations: 25.41 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.3841, allocations: 95.75 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.3845, allocations: 115.6 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.3845, allocations: 20 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.3848, allocations: 87.97 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.3849, allocations: 91.73 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.3851, allocations: 123.3 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.3855, allocations: 223.6 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3855, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3855, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.3855, allocations: 0 / 1.069 GB, free: 10.32 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.0009907/0.3865, allocations: 0.5617 MB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3866, allocations: 11.97 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.3868, allocations: 36.56 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3872, allocations: 274.7 kB / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.3872, allocations: 12.38 kB / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.3872, allocations: 20.12 kB / 1.07 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.3877, allocations: 236.9 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3877, allocations: 7.938 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.3878, allocations: 4 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3878, allocations: 8 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.3888, allocations: 0.7529 MB / 1.071 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.39, allocations: 0.6447 MB / 1.071 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.3905, allocations: 309.9 kB / 1.072 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.3907, allocations: 113.4 kB / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.3908, allocations: 16.25 kB / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.3912, allocations: 181.2 kB / 1.072 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=35): time 4.448e-06/0.3912, allocations: 0 / 1.072 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.0007383/0.392, allocations: 384.9 kB / 1.072 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3921, allocations: 132.5 kB / 1.072 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.3924, allocations: 305 kB / 1.073 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.3925, allocations: 37.7 kB / 1.073 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3926, allocations: 132.7 kB / 1.073 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3927, allocations: 114.3 kB / 1.073 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3928, allocations: 69.55 kB / 1.073 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.393, allocations: 342.8 kB / 1.073 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3932, allocations: 87.89 kB / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.3934, allocations: 128.6 kB / 1.074 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.3937, allocations: 217 kB / 1.074 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3938, allocations: 3.984 kB / 1.074 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000487/0.3942, allocations: 281.1 kB / 1.074 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3943, allocations: 4 kB / 1.074 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3943, allocations: 3.938 kB / 1.074 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3943, allocations: 4 kB / 1.074 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.3946, allocations: 67.91 kB / 1.074 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3946, allocations: 0 / 1.074 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.3947, allocations: 23.83 kB / 1.074 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.3948, allocations: 12 kB / 1.074 GB, free: 4.582 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.0001947/0.395, allocations: 173.7 kB / 1.074 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.3951, allocations: 27.62 kB / 1.074 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007279/0.3958, allocations: 392.6 kB / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.3958, allocations: 4 kB / 1.075 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3958, allocations: 0 / 1.075 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3958, allocations: 0 / 1.075 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.3962, allocations: 349.2 kB / 1.075 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3962, allocations: 0 / 1.075 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.3964, allocations: 59.91 kB / 1.075 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3964, allocations: 0 / 1.075 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.3965, allocations: 15.92 kB / 1.075 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3965, allocations: 7.938 kB / 1.075 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3965, allocations: 4 kB / 1.075 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.397, allocations: 313.7 kB / 1.075 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.3972, allocations: 152.6 kB / 1.076 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.3972, allocations: 11.94 kB / 1.076 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3974, allocations: 23.98 kB / 1.076 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.3975, allocations: 27.95 kB / 1.076 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.3975, allocations: 16 kB / 1.076 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002434/0.3978, allocations: 236.4 kB / 1.076 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3978, allocations: 4 kB / 1.076 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003256/0.3981, allocations: 64 kB / 1.076 GB, free: 2.629 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.001513/0.3996, allocations: 406.5 kB / 1.076 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005975/0.4002, allocations: 308.1 kB / 1.077 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4003, allocations: 0 / 1.077 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.4005, allocations: 139.7 kB / 1.077 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.4008, allocations: 44.36 kB / 1.077 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4019, allocations: 0.6404 MB / 1.077 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.4024, allocations: 0.769 MB / 1.078 GB, free: 440 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.4025, allocations: 47.41 kB / 1.078 GB, free: 392 kB / 0.8419 GB Notification: Performance of SimCode: time 2.264e-06/0.4026, allocations: 0 / 1.078 GB, free: 392 kB / 0.8419 GB Notification: Performance of Templates: time 0.4904/0.8929, allocations: 4.479 MB / 1.083 GB, free: 21.59 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches