Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002574/0.002574, allocations: 87.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002973/0.002973, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.642/1.642, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.839/2.839, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.793e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002944/0.002972, allocations: 1.49 MB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004816/0.003454, allocations: 183.3 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.003495, allocations: 1.062 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.00352, allocations: 3.984 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.003754, allocations: 33.3 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.003947, allocations: 51.91 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.004066, allocations: 59.84 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.004152, allocations: 4.438 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.793e-05/0.00425, allocations: 45.39 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.004324, allocations: 15.98 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.004351, allocations: 4 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.887e-05/0.00437, allocations: 4 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.004407, allocations: 21 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.004452, allocations: 15.98 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.004579, allocations: 59.84 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004581, allocations: 0.7188 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004582, allocations: 0 / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.004586, allocations: 1 kB / 0.7883 GB, free: 10.82 MB / 0.7448 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.0006246/0.005211, allocations: 380.2 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.005251, allocations: 14.31 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.005305, allocations: 4.938 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.005458, allocations: 120.5 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.005475, allocations: 4.375 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.005494, allocations: 8.359 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.005735, allocations: 140.6 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005743, allocations: 2.062 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.005758, allocations: 4.375 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.005762, allocations: 384 / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.411e-05/0.005826, allocations: 15.94 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.00635, allocations: 283.8 kB / 0.7893 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.006503, allocations: 59.7 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.006552, allocations: 20.22 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.006564, allocations: 1.656 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.006723, allocations: 73.08 kB / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.006724, allocations: 4 kB / 0.7894 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.000247/0.006971, allocations: 85.56 kB / 0.7895 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.007054, allocations: 103.4 kB / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.0072, allocations: 178.2 kB / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.007225, allocations: 26.2 kB / 0.7898 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.007313, allocations: 135.8 kB / 0.7899 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.007339, allocations: 11.84 kB / 0.7899 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.007402, allocations: 36.52 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002607/0.007663, allocations: 0.4884 MB / 0.7904 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.007703, allocations: 12 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.007823, allocations: 99.83 kB / 0.7905 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.007903, allocations: 39.83 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.007907, allocations: 7.938 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001413/0.008048, allocations: 77.64 kB / 0.7907 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.008063, allocations: 9.75 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.008068, allocations: 0 / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.008079, allocations: 0 / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.008168, allocations: 11.98 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.008173, allocations: 0 / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.874e-05/0.008261, allocations: 5.156 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.008275, allocations: 11.92 kB / 0.7907 GB, free: 8.121 MB / 0.7448 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.0001307/0.008406, allocations: 165.9 kB / 0.7909 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.008427, allocations: 11.88 kB / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.008451, allocations: 11.8 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.008452, allocations: 1.469 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.008455, allocations: 0 / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.008458, allocations: 0 / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.008597, allocations: 124.6 kB / 0.791 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008598, allocations: 2.875 kB / 0.791 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.008622, allocations: 3.984 kB / 0.791 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008624, allocations: 4 kB / 0.791 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.008644, allocations: 3.938 kB / 0.791 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.008645, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008646, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.008829, allocations: 108.4 kB / 0.7911 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.008862, allocations: 7.984 kB / 0.7911 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.008887, allocations: 8.438 kB / 0.7911 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.008972, allocations: 10.23 kB / 0.7911 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.009012, allocations: 7.938 kB / 0.7912 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.009022, allocations: 7.984 kB / 0.7912 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.454e-05/0.009117, allocations: 131.2 kB / 0.7913 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009117, allocations: 0 / 0.7913 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001945/0.009311, allocations: 14.59 kB / 0.7913 GB, free: 7.449 MB / 0.7448 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.0001274/0.009439, allocations: 95.25 kB / 0.7914 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.009603, allocations: 51.66 kB / 0.7914 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.009605, allocations: 0 / 0.7914 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-05/0.009664, allocations: 27.62 kB / 0.7915 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.009823, allocations: 12.78 kB / 0.7915 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.01016, allocations: 138.1 kB / 0.7916 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.254e-05/0.01023, allocations: 69.69 kB / 0.7917 GB, free: 7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.01027, allocations: 5.281 kB / 0.7917 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.01031, allocations: 16.48 kB / 0.7917 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.01031, allocations: 0 / 0.7917 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.004121/0.01443, allocations: 0.9734 MB / 0.7927 GB, free: 6.043 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.998684263089672]