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.001583/0.001583, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001888/0.001888, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.321/3.321, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.002941/0.002941, allocations: 63.95 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3701, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002764/0.3728, allocations: 1.49 MB / 1.356 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004722/0.3733, allocations: 187.4 kB / 1.356 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.3734, allocations: 4 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.3734, allocations: 7.922 kB / 1.356 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.3736, allocations: 15.88 kB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.3739, allocations: 62.09 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.374, allocations: 59.78 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3741, allocations: 15.92 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.3741, allocations: 23.98 kB / 1.356 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.3742, allocations: 23.91 kB / 1.356 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.3743, allocations: 4 kB / 1.356 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.3743, allocations: 4 kB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.3743, allocations: 15.92 kB / 1.356 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.3743, allocations: 15.94 kB / 1.356 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.3745, allocations: 43.86 kB / 1.356 GB, free: 5.973 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3745, allocations: 8 kB / 1.356 GB, free: 5.965 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3745, allocations: 0 / 1.356 GB, free: 5.965 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3745, allocations: 0 / 1.356 GB, free: 5.965 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005584/0.375, allocations: 274.3 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3751, allocations: 12.03 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.3751, allocations: 8.875 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3753, allocations: 114.5 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3753, allocations: 4.312 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3753, allocations: 8.359 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3754, allocations: 72.83 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3755, allocations: 192 / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.3755, allocations: 7.922 kB / 1.357 GB, free: 5.402 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3755, allocations: 0 / 1.357 GB, free: 5.402 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.628e-05/0.3755, allocations: 16 kB / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.3759, allocations: 247.9 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.376, allocations: 38.58 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.3761, allocations: 20.94 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.3761, allocations: 3.938 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.3763, allocations: 59.39 kB / 1.357 GB, free: 4.957 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.3763, allocations: 3.938 kB / 1.357 GB, free: 4.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000226/0.3765, allocations: 69.69 kB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.3766, allocations: 114.7 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.3767, allocations: 101.9 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3767, allocations: 25.7 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.3767, allocations: 92.08 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.3768, allocations: 11.94 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.3768, allocations: 25.7 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.377, allocations: 314.8 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.377, allocations: 12 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.377, allocations: 42.81 kB / 1.358 GB, free: 4.086 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.745e-05/0.3771, allocations: 28.8 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3771, allocations: 0 / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.3772, allocations: 57.64 kB / 1.358 GB, free: 3.992 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3772, allocations: 9.562 kB / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3772, allocations: 0 / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3772, allocations: 0 / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/0.3773, allocations: 7.984 kB / 1.358 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3773, allocations: 8.031 kB / 1.358 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3774, allocations: 11.92 kB / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3774, allocations: 0 / 1.358 GB, free: 3.957 MB / 1.045 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 (5): * Single equations (assignments): 5 * 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 9.922e-05/0.3775, allocations: 125.7 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.3776, allocations: 4 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.3776, allocations: 7.688 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3776, allocations: 0 / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3776, allocations: 0 / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3776, allocations: 4 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.3777, allocations: 148.7 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3777, allocations: 0 / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.3778, allocations: 192 / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3778, allocations: 0 / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3778, allocations: 4 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3778, allocations: 3.938 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3778, allocations: 3.984 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.3779, allocations: 93.19 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.3779, allocations: 11.98 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.378, allocations: 8 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3781, allocations: 17.47 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.3781, allocations: 0 / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3781, allocations: 7.984 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.3782, allocations: 83.28 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3782, allocations: 0 / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001949/0.3784, allocations: 12 kB / 1.358 GB, free: 3.363 MB / 1.045 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 (4): * Single equations (assignments): 3 * 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.0001354/0.3785, allocations: 99.25 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.3786, allocations: 31.92 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3786, allocations: 0 / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.3787, allocations: 19.92 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.3788, allocations: 7.938 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.3792, allocations: 139.4 kB / 1.359 GB, free: 3.027 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3795, allocations: 0.6768 MB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.3795, allocations: 15.44 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3795, allocations: 0 / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of Templates: time 0.002445/0.382, allocations: 0.8355 MB / 1.36 GB, free: 1.484 MB / 1.045 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/jenkins1/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: 11.614689328009263]