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.001498/0.001498, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.001705/0.001705, allocations: 169.5 kB / 22.46 MB, free: 5.359 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.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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 2.957/2.957, allocations: 389 MB / 0.633 GB, free: 1.035 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 1 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.182e-05, allocations: 2.281 kB / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002995/0.003027, allocations: 1.484 MB / 1.002 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005132/0.00354, allocations: 175.3 kB / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.003592, allocations: 0 / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.003622, allocations: 3.938 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.003901, allocations: 23.78 kB / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.004161, allocations: 55.67 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.004318, allocations: 67.78 kB / 1.002 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.004417, allocations: 15.86 kB / 1.002 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.004518, allocations: 35.97 kB / 1.002 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.857e-05/0.004596, allocations: 11.97 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.00463, allocations: 11.94 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.004647, allocations: 4 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.004684, allocations: 19.97 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.004731, allocations: 8 kB / 1.002 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.004884, allocations: 63.83 kB / 1.002 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004886, allocations: 0 / 1.002 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004887, allocations: 0 / 1.002 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.004892, allocations: 4 kB / 1.002 GB, free: 5.344 MB / 0.9512 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.000602/0.005494, allocations: 278.3 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.005536, allocations: 8.031 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.005584, allocations: 12.88 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.005723, allocations: 109.7 kB / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.005742, allocations: 4.375 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.00576, allocations: 4.375 kB / 1.002 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.005975, allocations: 132.1 kB / 1.003 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.005986, allocations: 4.172 kB / 1.003 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.006003, allocations: 4.375 kB / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.006011, allocations: 12.31 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.644e-05/0.006077, allocations: 19.92 kB / 1.003 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.006581, allocations: 216.5 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.006723, allocations: 50.5 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.006775, allocations: 20.94 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.006788, allocations: 0 / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.006972, allocations: 63.33 kB / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.006974, allocations: 0 / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0002426/0.007216, allocations: 85.81 kB / 1.003 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.007301, allocations: 102.8 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.007408, allocations: 109.9 kB / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.007434, allocations: 33.64 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.007495, allocations: 88.09 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.007523, allocations: 19.88 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.007575, allocations: 21.7 kB / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.007741, allocations: 318.8 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.814e-05/0.007779, allocations: 12 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.007869, allocations: 85.97 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.175e-05/0.007941, allocations: 40.91 kB / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007942, allocations: 4.031 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001452/0.008088, allocations: 77.52 kB / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.008104, allocations: 4 kB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.008108, allocations: 0 / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.008122, allocations: 0 / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.008197, allocations: 8 kB / 1.004 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.008202, allocations: 0 / 1.004 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.008316, allocations: 11.98 kB / 1.004 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.008327, allocations: 4 kB / 1.004 GB, free: 3.184 MB / 0.9512 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.0001064/0.008433, allocations: 118.4 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.008452, allocations: 7.891 kB / 1.004 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.008477, allocations: 11.8 kB / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008479, allocations: 0 / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008482, allocations: 0 / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.008485, allocations: 3.938 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.008606, allocations: 109.3 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.008607, allocations: 0 / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.008632, allocations: 4 kB / 1.004 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008634, allocations: 3.938 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.008645, allocations: 7.938 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.008647, allocations: 4 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.00865, allocations: 4 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.008821, allocations: 89.11 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.008857, allocations: 12.25 kB / 1.004 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.008881, allocations: 3.938 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.008992, allocations: 19.98 kB / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.009033, allocations: 0 / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.009042, allocations: 4 kB / 1.004 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.009097, allocations: 91.2 kB / 1.004 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.009097, allocations: 0 / 1.004 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001978/0.009294, allocations: 19.94 kB / 1.004 GB, free: 2.617 MB / 0.9512 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.0001292/0.009424, allocations: 99.25 kB / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.009553, allocations: 32.22 kB / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.009554, allocations: 0 / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.009601, allocations: 23.92 kB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.009754, allocations: 0 / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.01008, allocations: 136.7 kB / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.01014, allocations: 63.34 kB / 1.005 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.01018, allocations: 15.97 kB / 1.005 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.01021, allocations: 12.5 kB / 1.005 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of SimCode: time 4.7e-07/0.01021, allocations: 0 / 1.005 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of Templates: time 0.003823/0.01403, allocations: 0.9651 MB / 1.006 GB, free: 1.242 MB / 0.9512 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: 8.223079018294811]