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.001374/0.001374, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001485/0.001485, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.82 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 2.799/2.799, allocations: 476 MB / 0.7707 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.002072/0.002072, allocations: 67.14 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2756, allocations: 169.9 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002704/0.2783, allocations: 1.48 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004687/0.2787, allocations: 185.2 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.2788, allocations: 0 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.2788, allocations: 0 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.279, allocations: 23.84 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.2792, allocations: 62.72 kB / 1.286 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2793, allocations: 55.84 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.293e-05/0.2794, allocations: 11.94 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.2795, allocations: 27.91 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.2795, allocations: 19.92 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.2795, allocations: 4 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.2796, allocations: 4 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.2796, allocations: 11.98 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.2796, allocations: 19.91 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.2797, allocations: 47.88 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2797, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2797, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2797, allocations: 4 kB / 1.286 GB, free: 10.02 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.0005204/0.2803, allocations: 274.2 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2803, allocations: 8.031 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.2803, allocations: 8.891 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2804, allocations: 114.5 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2805, allocations: 4.375 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.2805, allocations: 384 / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2807, allocations: 132.2 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2807, allocations: 192 / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.2807, allocations: 3.938 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2807, allocations: 8 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.2807, allocations: 19.92 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.2811, allocations: 212.6 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.2812, allocations: 42.5 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.2812, allocations: 12.86 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.2812, allocations: 0 / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.2814, allocations: 71.38 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2814, allocations: 0 / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000205/0.2816, allocations: 73.67 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.2817, allocations: 110.8 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.765e-05/0.2818, allocations: 109.8 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.2818, allocations: 25.7 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.2819, allocations: 84.14 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.2819, allocations: 15.84 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.2819, allocations: 25.7 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2821, allocations: 310.8 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.2821, allocations: 15.98 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.2822, allocations: 81.97 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.314e-05/0.2823, allocations: 24.86 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2823, allocations: 3.938 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001089/0.2824, allocations: 65.72 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2824, allocations: 4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.2824, allocations: 0 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2824, allocations: 0 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.2825, allocations: 11.94 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2825, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.2826, allocations: 12.36 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2826, allocations: 0 / 1.288 GB, free: 7.934 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.0001025/0.2827, allocations: 117.8 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.2827, allocations: 11.94 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.2827, allocations: 15.88 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2827, allocations: 3.984 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2827, allocations: 4 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2827, allocations: 0 / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.2829, allocations: 113.2 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2829, allocations: 0 / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.2829, allocations: 3.938 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2829, allocations: 4 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2829, allocations: 0 / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2829, allocations: 0 / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2829, allocations: 4 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.2831, allocations: 96.98 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.2831, allocations: 11.94 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.2831, allocations: 4 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2832, allocations: 7.984 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.2832, allocations: 4 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2833, allocations: 3.984 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.2833, allocations: 83.28 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2833, allocations: 4 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001953/0.2835, allocations: 8 kB / 1.288 GB, free: 7.383 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.0001292/0.2836, allocations: 103.2 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.2838, allocations: 31.92 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2838, allocations: 3.938 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.2838, allocations: 15.98 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.284, allocations: 11.94 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.2843, allocations: 143.4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.978e-05/0.2843, allocations: 63.34 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.2844, allocations: 15.42 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.2844, allocations: 4 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of Templates: time 0.002317/0.2867, allocations: 0.8409 MB / 1.289 GB, free: 6.109 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 10.774712561164051]