Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00114/0.00114, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001862/0.003002, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007644/0.0007644, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001869, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9451/0.9451, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08135/1.026, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.858/1.858, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5001/2.359, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.235e-05, allocations: 8.359 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002989/0.003011, allocations: 1.573 MB / 0.7312 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003557/0.003367, allocations: 180.3 kB / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.00341, allocations: 0 / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.003441, allocations: 6.625 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.003589, allocations: 18.7 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.003769, allocations: 55.84 kB / 0.7315 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.003902, allocations: 61.7 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.003987, allocations: 12.81 kB / 0.7315 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.004095, allocations: 42.36 kB / 0.7316 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.435e-05/0.004179, allocations: 23.56 kB / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.004209, allocations: 4 kB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.729e-05/0.004227, allocations: 8 kB / 0.7316 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.004258, allocations: 9.641 kB / 0.7316 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.004292, allocations: 10.38 kB / 0.7316 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.004415, allocations: 34.41 kB / 0.7317 GB, free: 2.414 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.00443, allocations: 0.6562 kB / 0.7317 GB, free: 2.414 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004431, allocations: 0 / 0.7317 GB, free: 2.414 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.004447, allocations: 0.6562 kB / 0.7317 GB, free: 2.414 MB / 0.698 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.0005353/0.004983, allocations: 265 kB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.005022, allocations: 12.91 kB / 0.7319 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.005073, allocations: 4.938 kB / 0.7319 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.005189, allocations: 111 kB / 0.732 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.005209, allocations: 4.969 kB / 0.732 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.005231, allocations: 9.078 kB / 0.732 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.005405, allocations: 132.9 kB / 0.7322 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.005415, allocations: 0.7812 kB / 0.7322 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.005426, allocations: 384 / 0.7322 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.005432, allocations: 1.5 kB / 0.7322 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/0.005471, allocations: 23.86 kB / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.005831, allocations: 173.2 kB / 0.7324 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.00593, allocations: 26.58 kB / 0.7324 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.005954, allocations: 14.58 kB / 0.7324 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.005962, allocations: 3.938 kB / 0.7324 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.006078, allocations: 60.8 kB / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.006079, allocations: 0 / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0002093/0.006289, allocations: 54.42 kB / 0.7325 GB, free: 1.418 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.006332, allocations: 59.41 kB / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.006401, allocations: 115.2 kB / 0.7327 GB, free: 1.223 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.006418, allocations: 27.36 kB / 0.7327 GB, free: 1.191 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.006454, allocations: 80.14 kB / 0.7328 GB, free: 1.109 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.00648, allocations: 23.83 kB / 0.7328 GB, free: 1.086 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.006525, allocations: 25.7 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.006616, allocations: 314.8 kB / 0.7331 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.006634, allocations: 8.859 kB / 0.7331 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.006691, allocations: 73.98 kB / 0.7332 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.006738, allocations: 29.8 kB / 0.7332 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00674, allocations: 0 / 0.7332 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.582e-05/0.006826, allocations: 61.59 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.006841, allocations: 7.156 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.006848, allocations: 3.938 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.006864, allocations: 4 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.006946, allocations: 11.98 kB / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.006949, allocations: 1.156 kB / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.007013, allocations: 8 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.007022, allocations: 4 kB / 0.7333 GB, free: 0.5039 MB / 0.698 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 6.905e-05/0.007091, allocations: 106.5 kB / 0.7334 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.007105, allocations: 9.109 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.00713, allocations: 15.75 kB / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007132, allocations: 0 / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.007139, allocations: 0.5938 kB / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.007143, allocations: 0 / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.538e-05/0.007228, allocations: 78.36 kB / 0.7335 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.00723, allocations: 1.531 kB / 0.7335 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.007253, allocations: 4 kB / 0.7335 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.007288, allocations: 7.984 kB / 0.7336 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.00729, allocations: 0.5312 kB / 0.7336 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.007297, allocations: 9.5 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.007299, allocations: 3.938 kB / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007301, allocations: 0 / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.134e-05/0.007392, allocations: 73.12 kB / 0.7336 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.00741, allocations: 0 / 0.7336 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/0.007467, allocations: 9.203 kB / 0.7336 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.007497, allocations: 15.92 kB / 0.7337 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.007503, allocations: 0 / 0.7337 GB, free: 136 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.659e-05/0.007519, allocations: 10.02 kB / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.007519, allocations: 0 / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001665/0.007686, allocations: 12 kB / 0.7337 GB, free: 112 kB / 0.698 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.0001105/0.007796, allocations: 89.31 kB / 0.7338 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.007904, allocations: 33.22 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.00791, allocations: 0.75 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.655e-05/0.007947, allocations: 20.84 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.471e-05/0.008041, allocations: 16.73 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008433/0.008885, allocations: 137.3 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.008921, allocations: 59.34 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.516e-05/0.008956, allocations: 5.375 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.009061, allocations: 67.34 kB / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of SimCode: time 8.02e-07/0.009061, allocations: 0 / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of Templates: time 0.003299/0.01236, allocations: 1.11 MB / 0.7352 GB, free: 14.59 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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: 4.883186135441065]