Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001899/0.001899, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002048/0.002048, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.92/2.92, allocations: 359 MB / 0.6048 GB, free: 10.94 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.821e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002958/0.002986, allocations: 1.491 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004936/0.00348, allocations: 181.5 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.003526, allocations: 0 / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.003552, allocations: 7.938 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.003792, allocations: 27.02 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.00399, allocations: 55.89 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.004117, allocations: 67.72 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.004203, allocations: 3.938 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.004303, allocations: 39.95 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.004381, allocations: 15.98 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.004412, allocations: 7.938 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.682e-05/0.004428, allocations: 4 kB / 0.7882 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.004458, allocations: 16.97 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.004509, allocations: 19.98 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.004651, allocations: 55.84 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004653, allocations: 0.5938 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004654, allocations: 0 / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.004658, allocations: 1.312 kB / 0.7883 GB, free: 10.78 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.0006994/0.005357, allocations: 380.2 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.005396, allocations: 8.031 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.005454, allocations: 9.562 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.005613, allocations: 121.4 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.005632, allocations: 4.375 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.005654, allocations: 8.375 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.00588, allocations: 137.4 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.005893, allocations: 4.172 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.005908, allocations: 4.969 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.005912, allocations: 1.75 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.005981, allocations: 19.94 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.006502, allocations: 283.7 kB / 0.7893 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.006661, allocations: 56.61 kB / 0.7893 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.006706, allocations: 19.69 kB / 0.7893 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.006719, allocations: 0 / 0.7893 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.006875, allocations: 82.55 kB / 0.7894 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.006876, allocations: 0 / 0.7894 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002448/0.007121, allocations: 81.62 kB / 0.7895 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.007207, allocations: 102.8 kB / 0.7896 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.00735, allocations: 174.5 kB / 0.7898 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.007375, allocations: 29.64 kB / 0.7898 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.007463, allocations: 136.4 kB / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.007491, allocations: 15.84 kB / 0.7899 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.007556, allocations: 31.36 kB / 0.79 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.007821, allocations: 0.4884 MB / 0.7904 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.00787, allocations: 16.98 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.007994, allocations: 104.5 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.691e-05/0.008081, allocations: 39.69 kB / 0.7906 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008083, allocations: 0 / 0.7906 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000156/0.008239, allocations: 81.58 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.008256, allocations: 5.719 kB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008261, allocations: 0 / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.008277, allocations: 0.5312 kB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.008376, allocations: 16.64 kB / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.008383, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.008486, allocations: 4.5 kB / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.0085, allocations: 5.531 kB / 0.7907 GB, free: 8.09 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.0001347/0.008634, allocations: 164.6 kB / 0.7909 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.008657, allocations: 7.938 kB / 0.7909 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.008683, allocations: 8.906 kB / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008685, allocations: 0 / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.008689, allocations: 0 / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.008693, allocations: 0.8438 kB / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.008834, allocations: 128.7 kB / 0.791 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008836, allocations: 0 / 0.791 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.008864, allocations: 4.5 kB / 0.791 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.008866, allocations: 0.8438 kB / 0.791 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.008882, allocations: 11.92 kB / 0.791 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008884, allocations: 2.094 kB / 0.791 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008884, allocations: 0 / 0.791 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.00907, allocations: 112.3 kB / 0.7911 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.009107, allocations: 3.984 kB / 0.7911 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.009134, allocations: 7.938 kB / 0.7911 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.009221, allocations: 11.98 kB / 0.7912 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.009257, allocations: 0.5312 kB / 0.7912 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.009266, allocations: 6.562 kB / 0.7912 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.893e-05/0.009365, allocations: 139.2 kB / 0.7913 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009365, allocations: 0 / 0.7913 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001975/0.009563, allocations: 12 kB / 0.7913 GB, free: 7.418 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.0001396/0.009702, allocations: 103.2 kB / 0.7914 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.009867, allocations: 49.33 kB / 0.7915 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009869, allocations: 0 / 0.7915 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.029e-05/0.009929, allocations: 27.67 kB / 0.7915 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.0101, allocations: 11.89 kB / 0.7915 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.01049, allocations: 138.6 kB / 0.7916 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.01057, allocations: 68.45 kB / 0.7917 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.01061, allocations: 7.984 kB / 0.7917 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.01065, allocations: 18.19 kB / 0.7917 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.01065, allocations: 0 / 0.7917 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.004269/0.01492, allocations: 0.9895 MB / 0.7927 GB, free: 6.027 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.050587538979016]