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.001139/0.001139, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.002225, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007213/0.0007213, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008726/0.001594, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9717/0.9717, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09602/1.068, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.371/2.371, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2276/2.598, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.082e-05, allocations: 8.844 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001888/0.001909, allocations: 1.564 MB / 0.8205 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.002147, allocations: 171.3 kB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.002179, allocations: 3.938 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.002199, allocations: 4 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.002313, allocations: 31.72 kB / 0.8207 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.002451, allocations: 51.92 kB / 0.8207 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.792e-05/0.002549, allocations: 59.84 kB / 0.8208 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.002627, allocations: 7.938 kB / 0.8208 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.00273, allocations: 43.89 kB / 0.8208 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.002804, allocations: 19.97 kB / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.002826, allocations: 4 kB / 0.8208 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.002838, allocations: 4 kB / 0.8208 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.002861, allocations: 11.94 kB / 0.8209 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.002887, allocations: 12 kB / 0.8209 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.811e-05/0.002965, allocations: 39.84 kB / 0.8209 GB, free: 456 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.002975, allocations: 4 kB / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002976, allocations: 0 / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.002986, allocations: 0 / 0.8209 GB, free: 452 kB / 0.7917 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.0003803/0.003366, allocations: 272.4 kB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.003394, allocations: 8.031 kB / 0.8212 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.003425, allocations: 8.938 kB / 0.8212 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.003496, allocations: 109.8 kB / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.003507, allocations: 384 / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.003531, allocations: 4.422 kB / 0.8213 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.003645, allocations: 136.8 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.003651, allocations: 192 / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.003663, allocations: 8.375 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.003668, allocations: 384 / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.003693, allocations: 19.91 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.003933, allocations: 168.2 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.16e-05/0.003994, allocations: 34.52 kB / 0.8217 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.004008, allocations: 8.953 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.004016, allocations: 7.984 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.019e-05/0.004096, allocations: 55.39 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.004098, allocations: 4 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 9.567e-05/0.004194, allocations: 61.56 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.004226, allocations: 51.41 kB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.049e-05/0.004277, allocations: 114.8 kB / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.00429, allocations: 25.7 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.004316, allocations: 84.14 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.004335, allocations: 19.83 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.004363, allocations: 21.7 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.004435, allocations: 322.8 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.004445, allocations: 7.938 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.004485, allocations: 85.95 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.004517, allocations: 28.86 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004519, allocations: 0 / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.943e-05/0.004568, allocations: 53.62 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.004579, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.004583, allocations: 3.938 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.004592, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.00466, allocations: 15.98 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.004663, allocations: 0 / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.004708, allocations: 4 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.004713, allocations: 0 / 0.8226 GB, free: 14.52 MB / 0.8073 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 5.621e-05/0.004769, allocations: 121.8 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.004778, allocations: 4 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.004797, allocations: 11.75 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.004799, allocations: 0 / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.004801, allocations: 3.938 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.004805, allocations: 4 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.055e-05/0.004865, allocations: 73.83 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.004866, allocations: 4 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-06/0.004875, allocations: 0 / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.004895, allocations: 7.984 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.004899, allocations: 8 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.004903, allocations: 0 / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.004905, allocations: 3.938 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004906, allocations: 0.5 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.008e-05/0.004966, allocations: 73.12 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.004982, allocations: 7.984 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.005014, allocations: 4 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.005041, allocations: 7.922 kB / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.005045, allocations: 4 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.406e-05/0.005059, allocations: 12.8 kB / 0.8229 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005059, allocations: 4 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.685e-05/0.005156, allocations: 12 kB / 0.8229 GB, free: 14.11 MB / 0.8073 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 6.901e-05/0.005225, allocations: 84.41 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.293e-05/0.005298, allocations: 40.77 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.005303, allocations: 4 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/0.005328, allocations: 12.86 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.336e-05/0.005402, allocations: 22.17 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.005971, allocations: 138.9 kB / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.855e-05/0.005999, allocations: 55.36 kB / 0.8233 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.006024, allocations: 11.91 kB / 0.8233 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.0061, allocations: 67.34 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.006101, allocations: 0 / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.002206/0.008307, allocations: 1.102 MB / 0.8244 GB, free: 12.55 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.23252188693732]