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.00153/0.00153, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002318/0.002318, allocations: 213.4 kB / 22.24 MB, free: 5.258 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.018/3.018, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002445/0.002445, allocations: 66.19 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4183, allocations: 169.9 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003125/0.4214, allocations: 1.479 MB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000505/0.4219, allocations: 179.5 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.422, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.204e-05/0.422, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.4223, allocations: 23.78 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.4225, allocations: 55.86 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.4226, allocations: 63.84 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4227, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.4228, allocations: 27.91 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.4229, allocations: 19.92 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.4229, allocations: 4 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.4229, allocations: 4 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.423, allocations: 15.92 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.423, allocations: 23.91 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.4231, allocations: 43.88 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4231, allocations: 0 / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4231, allocations: 4 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.4231, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 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.0006167/0.4238, allocations: 274.3 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4238, allocations: 8.031 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.4239, allocations: 8.828 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.424, allocations: 118.5 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.424, allocations: 8.375 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.424, allocations: 384 / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.4243, allocations: 130 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4243, allocations: 192 / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.4243, allocations: 7.938 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4243, allocations: 4 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.4244, allocations: 23.92 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.4248, allocations: 200.6 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4249, allocations: 42.5 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.4249, allocations: 12.86 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.4249, allocations: 0 / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.4251, allocations: 75.36 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4251, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002289/0.4253, allocations: 81.62 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.4254, allocations: 102.8 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.4255, allocations: 105.8 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.4256, allocations: 25.7 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.4256, allocations: 88.14 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.4256, allocations: 11.89 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.4257, allocations: 21.72 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4259, allocations: 322.8 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/0.4259, allocations: 12 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-05/0.426, allocations: 85.97 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.426, allocations: 24.86 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.426, allocations: 7.969 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001045/0.4261, allocations: 57.69 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4262, allocations: 4 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4262, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4262, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.4263, allocations: 11.94 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.4263, allocations: 7.922 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.4264, allocations: 11.94 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.4264, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 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.0001361/0.4265, allocations: 121.8 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.4265, allocations: 7.953 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.4266, allocations: 7.688 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4266, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4266, allocations: 4 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4266, allocations: 448 / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.4267, allocations: 113.2 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4267, allocations: 0 / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.4267, allocations: 4 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4267, allocations: 4 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4267, allocations: 3.984 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4267, allocations: 4 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4267, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.4269, allocations: 97.17 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.4269, allocations: 19.88 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.4269, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.427, allocations: 7.984 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.4271, allocations: 7.984 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.4271, allocations: 0 / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.4272, allocations: 83.28 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4272, allocations: 4 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001925/0.4273, allocations: 12 kB / 1.287 GB, free: 7.34 MB / 0.9825 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.0001293/0.4275, allocations: 103.2 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.4276, allocations: 35.92 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4276, allocations: 0 / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.4277, allocations: 12 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.4278, allocations: 3.938 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.4282, allocations: 121.6 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.489e-05/0.4282, allocations: 63.34 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.4283, allocations: 12 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.4283, allocations: 7.438 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4283, allocations: 0 / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.003875/0.4322, allocations: 0.9581 MB / 1.288 GB, free: 5.992 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 400] 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: 9.409619169309735]