Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.001805/0.001805, 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.003013/0.003013, allocations: 216.5 kB / 22.25 MB, free: 4.855 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.793 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.465/3.465, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [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.00211/0.00211, allocations: 71.94 kB / 1.186 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4035, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.004187/0.4077, allocations: 1.48 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006742/0.4084, allocations: 187.5 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.4084, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.4085, allocations: 11.92 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.4088, allocations: 11.92 kB / 1.366 GB, free: 11.93 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.0002971/0.4091, allocations: 70.72 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.4092, allocations: 55.84 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.4093, allocations: 7.938 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.4094, allocations: 31.91 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.4095, allocations: 23.91 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.4095, allocations: 4 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.4095, allocations: 12 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.4096, allocations: 7.984 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.4096, allocations: 27.86 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.4098, allocations: 51.86 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4098, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4098, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.4098, allocations: 0 / 1.366 GB, free: 11.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006977/0.4105, allocations: 286.1 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4105, allocations: 12.03 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.4106, allocations: 0.9375 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.4107, allocations: 122.5 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.4108, allocations: 4.375 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.4108, allocations: 4.375 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.411, allocations: 128.2 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.411, allocations: 192 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4111, allocations: 3.938 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4111, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.484e-05/0.4112, allocations: 27.92 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.4117, allocations: 220.5 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.4118, allocations: 46.5 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.4119, allocations: 16.86 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.4119, allocations: 7.938 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.4121, allocations: 71.41 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.4121, allocations: 4 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0002875/0.4124, allocations: 81.62 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.4125, allocations: 106.8 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.4126, allocations: 106.1 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.4127, allocations: 33.7 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.4127, allocations: 80.14 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.4128, allocations: 27.91 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.4128, allocations: 25.7 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.413, allocations: 314.8 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.413, allocations: 16.25 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.4132, allocations: 85.97 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.298e-05/0.4133, allocations: 40.8 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.4133, allocations: 3.938 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000186/0.4134, allocations: 73.58 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4135, allocations: 4 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4135, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4135, allocations: 8.031 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.4136, allocations: 7.984 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.4136, allocations: 0 / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.4137, allocations: 13.55 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4137, allocations: 4 kB / 1.368 GB, free: 9.465 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 (7): * Single equations (assignments): 7 * 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.0001175/0.4138, allocations: 113.8 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.4139, allocations: 4 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.4139, allocations: 7.75 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4139, allocations: 0 / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4139, allocations: 0 / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4139, allocations: 4 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.414, allocations: 113.2 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.414, allocations: 7.984 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.4141, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4141, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4141, allocations: 7.938 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4141, allocations: 0 / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4141, allocations: 0 / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.4143, allocations: 101 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.4143, allocations: 3.984 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.4144, allocations: 8 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4145, allocations: 15.92 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.4145, allocations: 7.984 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.4146, allocations: 4.062 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.4146, allocations: 91.27 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4146, allocations: 0 / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003044/0.4149, allocations: 8 kB / 1.368 GB, free: 8.914 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 (5): * Single equations (assignments): 3 * 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.0001537/0.4151, allocations: 103.2 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.4153, allocations: 39.91 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4153, allocations: 4 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.4153, allocations: 12 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.4155, allocations: 19.8 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.4159, allocations: 125.6 kB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.483e-05/0.416, allocations: 67.3 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.584e-05/0.416, allocations: 4 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.4161, allocations: 15.42 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.4161, allocations: 0 / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of Templates: time 0.004761/0.4209, allocations: 0.976 MB / 1.369 GB, free: 7.551 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.57386957667768]