Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001971/0.001971, allocations: 113 kB / 16.46 MB, free: 6.453 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.002316/0.002316, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.542/1.542, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 0.4899 GB / 0.7915 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002119/0.002119, allocations: 65.12 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4041, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002994/0.4071, allocations: 1.47 MB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004677/0.4075, allocations: 187.4 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.4076, allocations: 0 / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.4076, allocations: 7.938 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.4079, allocations: 31.84 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.408, allocations: 44.67 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.4082, allocations: 67.72 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.4083, allocations: 7.938 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.4084, allocations: 31.91 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.4085, allocations: 15.92 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.4085, allocations: 4 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.066e-05/0.4085, allocations: 12 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.4086, allocations: 11.92 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.4086, allocations: 27.91 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.4087, allocations: 39.88 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4087, allocations: 0 / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4087, allocations: 0 / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4088, allocations: 0 / 1.323 GB, free: 0.8945 MB / 1.014 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.0007276/0.4095, allocations: 355.4 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4095, allocations: 11.98 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.4096, allocations: 12.89 kB / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.4098, allocations: 168.3 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.4098, allocations: 4.375 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.4098, allocations: 4.375 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.41, allocations: 76.75 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.41, allocations: 192 / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.41, allocations: 3.938 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.4101, allocations: 3.984 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.707e-05/0.4101, allocations: 23.98 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.4106, allocations: 284.8 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.4108, allocations: 34.52 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.4108, allocations: 16.94 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.4108, allocations: 4 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.411, allocations: 63.39 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.411, allocations: 0 / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002698/0.4113, allocations: 69.62 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.4114, allocations: 110.8 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4115, allocations: 101.9 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.4115, allocations: 29.7 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.4116, allocations: 88.08 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.4116, allocations: 11.95 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.4117, allocations: 21.7 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4119, allocations: 318.8 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.4119, allocations: 12 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.412, allocations: 30.56 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.865e-05/0.4121, allocations: 28.8 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4121, allocations: 3.938 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000118/0.4122, allocations: 62.12 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4123, allocations: 8.031 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4123, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4123, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.4124, allocations: 11.98 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.4124, allocations: 7.984 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.4125, allocations: 14.7 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4125, allocations: 3.984 kB / 1.325 GB, free: 14.68 MB / 1.029 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 0.0001276/0.4126, allocations: 117.8 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.4126, allocations: 4 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.4127, allocations: 7.5 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4127, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.4127, allocations: 3.938 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4127, allocations: 4 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.4129, allocations: 173.6 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4129, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.4129, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4129, allocations: 7.938 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.4129, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4129, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4129, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.4131, allocations: 97 kB / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.4131, allocations: 89.09 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.4132, allocations: 4.234 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4133, allocations: 7.984 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.4133, allocations: 3.984 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.4133, allocations: 4 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.4134, allocations: 91.27 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4134, allocations: 3.938 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002015/0.4136, allocations: 12 kB / 1.326 GB, free: 13.96 MB / 1.029 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.0001523/0.4137, allocations: 103.2 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.4139, allocations: 27.98 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4139, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.414, allocations: 15.98 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.4142, allocations: 10 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.4146, allocations: 125.4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.4149, allocations: 0.6807 MB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.4149, allocations: 7.984 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.415, allocations: 7.438 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.415, allocations: 4 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of Templates: time 0.00356/0.4185, allocations: 0.8905 MB / 1.327 GB, free: 12.04 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.293578546959907]