Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001796/0.001796, 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.002226/0.002226, allocations: 211.3 kB / 22.24 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.699/1.699, allocations: 230.6 MB / 256 MB, free: 7.789 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.447/3.447, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [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.002287/0.002287, allocations: 67.25 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3679, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00285/0.3708, allocations: 1.478 MB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004861/0.3713, allocations: 187.5 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.3713, allocations: 0 / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.3714, allocations: 7.938 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.3716, allocations: 23.84 kB / 1.366 GB, free: 11.84 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.0002059/0.3718, allocations: 62.53 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.3719, allocations: 59.78 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.372, allocations: 11.94 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.3721, allocations: 23.92 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.647e-05/0.3722, allocations: 23.91 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.3722, allocations: 4 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.844e-05/0.3722, allocations: 15.94 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.3722, allocations: 11.98 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.3723, allocations: 23.91 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3724, allocations: 51.8 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3724, allocations: 4 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3724, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3724, allocations: 0 / 1.366 GB, free: 11.55 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.0005744/0.373, allocations: 282.2 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.373, allocations: 8.031 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.3731, allocations: 4.938 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3732, allocations: 114.5 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.3732, allocations: 8.359 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.3732, allocations: 4.375 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3734, allocations: 136.1 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3735, allocations: 4.125 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3735, allocations: 7.938 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3735, allocations: 0 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.3735, allocations: 15.98 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.374, allocations: 216.6 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3741, allocations: 50.44 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.3742, allocations: 28.92 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.3742, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.3744, allocations: 71.38 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3744, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0002253/0.3746, allocations: 85.58 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.3747, allocations: 102.8 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.3748, allocations: 109.8 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.3748, allocations: 29.7 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.3749, allocations: 88.12 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.3749, allocations: 23.78 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.375, allocations: 21.7 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3751, allocations: 318.8 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.3751, allocations: 15.98 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.627e-05/0.3752, allocations: 94.03 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.165e-05/0.3753, allocations: 36.94 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3753, allocations: 3.938 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001226/0.3754, allocations: 69.64 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3754, allocations: 4 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3755, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3755, allocations: 4.031 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.3755, allocations: 8 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3755, allocations: 0 / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3757, allocations: 11.98 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3757, allocations: 4 kB / 1.368 GB, free: 9.379 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.0001296/0.3758, allocations: 125.7 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.3758, allocations: 0 / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.3758, allocations: 7.75 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3758, allocations: 0 / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3758, allocations: 0 / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3758, allocations: 7.938 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.376, allocations: 117.2 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.376, allocations: 0 / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.376, allocations: 4 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.376, allocations: 0 / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.376, allocations: 3.984 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.376, allocations: 0 / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.376, allocations: 4.5 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.3762, allocations: 97.02 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.3762, allocations: 11.98 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3762, allocations: 0 / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3763, allocations: 15.98 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.3764, allocations: 11.92 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3764, allocations: 4 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.3764, allocations: 79.28 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3764, allocations: 0 / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001965/0.3766, allocations: 16 kB / 1.368 GB, free: 8.82 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.0001205/0.3768, allocations: 103.2 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.3769, allocations: 35.92 kB / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3769, allocations: 4 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.3769, allocations: 15.94 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.3771, allocations: 15.88 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.3774, allocations: 121.6 kB / 1.368 GB, free: 8.492 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.407e-05/0.3775, allocations: 71.3 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.3775, allocations: 4 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.3775, allocations: 11.44 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3775, allocations: 0 / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of Templates: time 0.003459/0.381, allocations: 0.9782 MB / 1.369 GB, free: 7.461 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.592762378975749]