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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.408/3.408, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 73.31 kB / 1.186 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4097, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004202/0.4139, allocations: 1.874 MB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.417, allocations: 1.786 MB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.4171, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.4174, allocations: 31.77 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.4179, allocations: 127.4 kB / 1.368 GB, free: 9.734 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/BoundaryConditions/WeatherData/BaseClasses/PartialConvertTime.mo:31:3-34:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition '(not initial() and conTim.canRepeatWeatherFile) and conTim.modTimAux > pre(conTim.tNext)'. Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.4185, allocations: 170.1 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.4189, allocations: 305.2 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.419, allocations: 21.3 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.4192, allocations: 99.81 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.4195, allocations: 103.6 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.793e-05/0.4195, allocations: 27.98 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.4199, allocations: 119.9 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.4201, allocations: 103.7 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.4202, allocations: 99.45 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007042/0.4209, allocations: 390.4 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4209, allocations: 0 / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.654e-06/0.4209, allocations: 3.938 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.4209, allocations: 0 / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001412/0.4223, allocations: 0.5174 MB / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.4224, allocations: 8.031 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.4226, allocations: 36.7 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.423, allocations: 225 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.423, allocations: 24.69 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.4231, allocations: 20.12 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.4236, allocations: 372.8 kB / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4236, allocations: 0 / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.4237, allocations: 8 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.4237, allocations: 8 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009671/0.4246, allocations: 0.6976 MB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.4258, allocations: 0.5467 MB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.4265, allocations: 293.8 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.4266, allocations: 108.6 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.083e-05/0.4267, allocations: 15.98 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004892/0.4272, allocations: 242.7 kB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 2.004e-06/0.4272, allocations: 0 / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.0008328/0.428, allocations: 389.4 kB / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.4281, allocations: 136.5 kB / 1.372 GB, free: 4.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.4285, allocations: 321.1 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.4286, allocations: 33.7 kB / 1.373 GB, free: 4.137 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.4287, allocations: 145 kB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.4288, allocations: 119 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.429, allocations: 69.67 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4291, allocations: 338.8 kB / 1.373 GB, free: 3.461 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.4293, allocations: 83.95 kB / 1.374 GB, free: 3.379 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.4296, allocations: 212.2 kB / 1.374 GB, free: 3.141 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.43, allocations: 220.9 kB / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.43, allocations: 0 / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005191/0.4305, allocations: 297.1 kB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4305, allocations: 5.562 kB / 1.374 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4305, allocations: 4 kB / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4305, allocations: 3.938 kB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.4308, allocations: 63.91 kB / 1.374 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4308, allocations: 0 / 1.374 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.431, allocations: 38.86 kB / 1.374 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.431, allocations: 12 kB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (38): * Single equations (assignments): 38 * 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.0001962/0.4312, allocations: 169.7 kB / 1.375 GB, free: 2.328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.4313, allocations: 23.86 kB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/0.432, allocations: 400.7 kB / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.432, allocations: 11.88 kB / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.432, allocations: 0 / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.432, allocations: 0 / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.4323, allocations: 253.1 kB / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4323, allocations: 0 / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.4325, allocations: 59.91 kB / 1.375 GB, free: 1.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.4326, allocations: 0 / 1.375 GB, free: 1.555 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.4326, allocations: 8 kB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.4326, allocations: 4 kB / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4326, allocations: 3.938 kB / 1.375 GB, free: 1.539 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.4331, allocations: 343.3 kB / 1.376 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.4333, allocations: 67.69 kB / 1.376 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.4333, allocations: 8 kB / 1.376 GB, free: 1.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.4335, allocations: 27.97 kB / 1.376 GB, free: 1.086 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.4336, allocations: 31.89 kB / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.4336, allocations: 11.98 kB / 1.376 GB, free: 1.043 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002809/0.4339, allocations: 248.4 kB / 1.376 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4339, allocations: 0 / 1.376 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003433/0.4342, allocations: 83.86 kB / 1.376 GB, free: 0.7148 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001744/0.436, allocations: 0.4911 MB / 1.377 GB, free: 416 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.4364, allocations: 227.4 kB / 1.377 GB, free: 188 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4364, allocations: 0 / 1.377 GB, free: 188 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.4367, allocations: 127.7 kB / 1.377 GB, free: 60 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.437, allocations: 39.81 kB / 1.377 GB, free: 24 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.438, allocations: 0.5406 MB / 1.377 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.4382, allocations: 158.8 kB / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003432/0.4386, allocations: 146.9 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.4386, allocations: 51.34 kB / 1.378 GB, free: 15.09 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.4387, allocations: 3.938 kB / 1.378 GB, free: 15.08 MB / 1.076 GB Notification: Performance of Templates: time 0.008791/0.4474, allocations: 4.037 MB / 1.382 GB, free: 11.1 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.389063710346818]