Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001402/0.001402, allocations: 104 kB / 16.45 MB, free: 6.449 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.001557/0.001557, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.511/1.511, allocations: 230.6 MB / 252.8 MB, free: 9.098 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.206/3.206, allocations: 0.4899 GB / 0.7915 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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: 78.38 kB / 1.149 GB, free: 26.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3937, allocations: 176.1 MB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00432/0.398, allocations: 1.911 MB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.4012, allocations: 1.767 MB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.4013, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.4016, allocations: 23.8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.4021, allocations: 119.4 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.4027, allocations: 175.9 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.4032, allocations: 289.3 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.4033, allocations: 32.98 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.4035, allocations: 103.8 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.4038, allocations: 111.6 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.4039, allocations: 20 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.4042, allocations: 139.9 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.4043, allocations: 87.8 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.4045, allocations: 127.2 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.4051, allocations: 378.5 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4051, allocations: 4 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4051, allocations: 0 / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.4051, allocations: 0 / 1.326 GB, free: 13.49 MB / 1.029 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.001009/0.4061, allocations: 0.5961 MB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4061, allocations: 11.98 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.4063, allocations: 32.75 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.4067, allocations: 282.9 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4067, allocations: 12.38 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.4068, allocations: 28.11 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.4072, allocations: 232.9 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4072, allocations: 0 / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.4073, allocations: 11.98 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.4073, allocations: 4 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.4083, allocations: 0.749 MB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.4095, allocations: 0.6487 MB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.4101, allocations: 286 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.4103, allocations: 97.36 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.757e-05/0.4103, allocations: 24.25 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.4108, allocations: 183.4 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.914e-06/0.4108, allocations: 0 / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007904/0.4116, allocations: 382.5 kB / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4117, allocations: 132.5 kB / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.4121, allocations: 325 kB / 1.33 GB, free: 9.258 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.4121, allocations: 33.7 kB / 1.33 GB, free: 9.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4122, allocations: 132.7 kB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.4124, allocations: 134.9 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.4125, allocations: 69.55 kB / 1.331 GB, free: 8.879 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4127, allocations: 338.8 kB / 1.331 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.4128, allocations: 79.95 kB / 1.331 GB, free: 8.461 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.413, allocations: 127.3 kB / 1.331 GB, free: 8.324 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.4134, allocations: 213.4 kB / 1.331 GB, free: 8.113 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4134, allocations: 0 / 1.331 GB, free: 8.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005175/0.4139, allocations: 285.3 kB / 1.332 GB, free: 7.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4139, allocations: 4 kB / 1.332 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4139, allocations: 3.938 kB / 1.332 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.414, allocations: 3.984 kB / 1.332 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.4142, allocations: 67.95 kB / 1.332 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4142, allocations: 3.938 kB / 1.332 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.4144, allocations: 27.86 kB / 1.332 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.4144, allocations: 12 kB / 1.332 GB, free: 7.707 MB / 1.029 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.0002116/0.4147, allocations: 171.5 kB / 1.332 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.4147, allocations: 31.81 kB / 1.332 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007876/0.4155, allocations: 388.5 kB / 1.332 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.4155, allocations: 7.984 kB / 1.332 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4155, allocations: 0 / 1.332 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4155, allocations: 0 / 1.332 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.4159, allocations: 353.2 kB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.4159, allocations: 4 kB / 1.333 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.4161, allocations: 59.91 kB / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.4161, allocations: 4 kB / 1.333 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.4162, allocations: 15.92 kB / 1.333 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4162, allocations: 0 / 1.333 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4162, allocations: 0 / 1.333 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.4168, allocations: 330.3 kB / 1.333 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.4169, allocations: 144.8 kB / 1.333 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.417, allocations: 11.94 kB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.4172, allocations: 23.97 kB / 1.333 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.4172, allocations: 23.97 kB / 1.333 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.4173, allocations: 16 kB / 1.333 GB, free: 6.051 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002553/0.4175, allocations: 252.4 kB / 1.334 GB, free: 5.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4175, allocations: 0 / 1.334 GB, free: 5.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003687/0.4179, allocations: 83.83 kB / 1.334 GB, free: 5.723 MB / 1.029 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.00164/0.4195, allocations: 460.4 kB / 1.334 GB, free: 5.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.42, allocations: 227.7 kB / 1.334 GB, free: 5.203 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.42, allocations: 0 / 1.334 GB, free: 5.203 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.4202, allocations: 124.6 kB / 1.334 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.4206, allocations: 37.05 kB / 1.334 GB, free: 5.047 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.4216, allocations: 0.545 MB / 1.335 GB, free: 4.473 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.4221, allocations: 0.769 MB / 1.336 GB, free: 3.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003665/0.4225, allocations: 146.8 kB / 1.336 GB, free: 3.539 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.4226, allocations: 43.42 kB / 1.336 GB, free: 3.496 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4226, allocations: 0 / 1.336 GB, free: 3.496 MB / 1.029 GB Notification: Performance of Templates: time 0.009148/0.4317, allocations: 3.881 MB / 1.34 GB, free: 15.66 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.552040064707398]