Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001407/0.001407, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001581/0.001581, allocations: 212 kB / 22.24 MB, free: 5.242 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.812 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.452/3.452, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [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.002116/0.002116, allocations: 63.62 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3501, allocations: 181.9 MB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003137/0.3532, allocations: 1.485 MB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000492/0.3537, allocations: 179.5 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.3537, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.3538, allocations: 7.938 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.3541, allocations: 15.92 kB / 1.365 GB, free: 12.03 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.0002278/0.3543, allocations: 62.09 kB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3544, allocations: 71.77 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3545, allocations: 15.94 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.3546, allocations: 19.98 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.3547, allocations: 19.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.3547, allocations: 7.984 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.832e-05/0.3547, allocations: 4 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.3548, allocations: 19.92 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.3548, allocations: 19.92 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.355, allocations: 51.84 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.355, allocations: 0 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.074e-06/0.355, allocations: 4 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.355, allocations: 0 / 1.366 GB, free: 11.74 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.000652/0.3556, allocations: 286.2 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3557, allocations: 8.031 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.3557, allocations: 4.938 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3558, allocations: 114.4 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3559, allocations: 4.375 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.3559, allocations: 8.359 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.3561, allocations: 128.2 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3561, allocations: 192 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3561, allocations: 15.88 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3561, allocations: 4 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.107e-05/0.3562, allocations: 19.92 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.3567, allocations: 216.5 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.3568, allocations: 50.5 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.3569, allocations: 20.94 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.3569, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.3571, allocations: 75.25 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3571, allocations: 4 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0002172/0.3573, allocations: 77.64 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.3574, allocations: 110.8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3575, allocations: 114 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.3575, allocations: 25.7 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.3576, allocations: 88.12 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3576, allocations: 15.84 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.3576, allocations: 25.7 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3578, allocations: 314.8 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.3578, allocations: 15.98 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.3579, allocations: 93.97 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.545e-05/0.358, allocations: 33.03 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.358, allocations: 3.938 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001231/0.3581, allocations: 73.7 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3581, allocations: 11.94 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3581, allocations: 0 / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3581, allocations: 0 / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.3582, allocations: 4 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3582, allocations: 4 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3583, allocations: 11.98 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3583, allocations: 0 / 1.368 GB, free: 9.562 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.000107/0.3584, allocations: 130.9 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.3584, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.3585, allocations: 3.75 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3585, allocations: 4 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3585, allocations: 0 / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3585, allocations: 0 / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3586, allocations: 117.2 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3586, allocations: 0 / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.3586, allocations: 4 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3586, allocations: 3.938 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3586, allocations: 7.984 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3586, allocations: 0 / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3586, allocations: 3.938 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.3588, allocations: 101 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.3588, allocations: 11.98 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3589, allocations: 320 / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.359, allocations: 11.98 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.359, allocations: 3.984 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.359, allocations: 8 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.3591, allocations: 83.28 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3591, allocations: 4 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001965/0.3593, allocations: 16 kB / 1.368 GB, free: 8.996 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.0001354/0.3594, allocations: 103.2 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.3595, allocations: 35.92 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3595, allocations: 0 / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.3596, allocations: 16 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.3597, allocations: 9.75 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.3601, allocations: 125.6 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.26e-05/0.3602, allocations: 71.3 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.3602, allocations: 4 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.3602, allocations: 15.38 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3602, allocations: 0 / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of Templates: time 0.004213/0.3645, allocations: 0.9626 MB / 1.369 GB, free: 7.625 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.386298490688205]