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.00102/0.00102, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002405, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009602/0.0009602, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.002113, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9522/0.9522, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09962/1.052, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.86/1.86, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5455/2.406, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.543e-06/1.543e-06, allocations: 0 / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.884e-05, allocations: 7.625 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001845/0.001864, allocations: 1.577 MB / 0.7309 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.002112, allocations: 172 kB / 0.731 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.002144, allocations: 0.6562 kB / 0.731 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.002165, allocations: 4 kB / 0.731 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.002281, allocations: 30.84 kB / 0.7311 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.002412, allocations: 57.2 kB / 0.7311 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.002517, allocations: 62.03 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.002596, allocations: 9.031 kB / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.002686, allocations: 42.08 kB / 0.7312 GB, free: 2.582 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.002762, allocations: 26.03 kB / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.002791, allocations: 4.562 kB / 0.7313 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.002801, allocations: 5.781 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.002822, allocations: 9.859 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.002858, allocations: 14.08 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.722e-05/0.002955, allocations: 41.16 kB / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.679e-05/0.002972, allocations: 0 / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002972, allocations: 0.75 kB / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.00299, allocations: 0 / 0.7313 GB, free: 2.492 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.0004657/0.003456, allocations: 265.1 kB / 0.7316 GB, free: 2.207 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.003487, allocations: 9.312 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.003521, allocations: 8.938 kB / 0.7316 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.614e-05/0.003607, allocations: 113.7 kB / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.003621, allocations: 384 / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.003633, allocations: 5.25 kB / 0.7317 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.003779, allocations: 132.9 kB / 0.7318 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.003788, allocations: 5.062 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.003798, allocations: 384 / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.003804, allocations: 0.9375 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.003838, allocations: 19.91 kB / 0.7319 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.004135, allocations: 165.8 kB / 0.732 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.839e-05/0.004213, allocations: 38.58 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.004234, allocations: 14.16 kB / 0.7321 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.00424, allocations: 0 / 0.7321 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.00435, allocations: 59.39 kB / 0.7321 GB, free: 1.559 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.004351, allocations: 0.75 kB / 0.7321 GB, free: 1.559 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001194/0.00447, allocations: 61.56 kB / 0.7322 GB, free: 1.492 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.004514, allocations: 52.38 kB / 0.7322 GB, free: 1.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.004575, allocations: 114.7 kB / 0.7324 GB, free: 1.305 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.00459, allocations: 25.7 kB / 0.7324 GB, free: 1.273 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.004625, allocations: 84.67 kB / 0.7325 GB, free: 1.188 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.004648, allocations: 20.72 kB / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.004682, allocations: 21.69 kB / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.004767, allocations: 319.7 kB / 0.7328 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.00478, allocations: 7.984 kB / 0.7328 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.004824, allocations: 81.97 kB / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.004925, allocations: 22.28 kB / 0.7329 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.004927, allocations: 0 / 0.7329 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.946e-05/0.004987, allocations: 57.61 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.005, allocations: 7 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.005006, allocations: 7.875 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.005015, allocations: 2.062 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.005082, allocations: 15.98 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.005085, allocations: 0 / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.005129, allocations: 4 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.005136, allocations: 4 kB / 0.733 GB, free: 0.5898 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 5.978e-05/0.005196, allocations: 115.2 kB / 0.7331 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.005203, allocations: 4 kB / 0.7331 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.005226, allocations: 11.75 kB / 0.7331 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005227, allocations: 1.094 kB / 0.7331 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.005228, allocations: 0 / 0.7331 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005232, allocations: 0 / 0.7331 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.315e-05/0.005295, allocations: 78.5 kB / 0.7332 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.005296, allocations: 4 kB / 0.7332 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-06/0.005305, allocations: 0.5312 kB / 0.7332 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.00533, allocations: 11.97 kB / 0.7332 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005332, allocations: 5.031 kB / 0.7332 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.005336, allocations: 0 / 0.7332 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.005338, allocations: 5.125 kB / 0.7332 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.00534, allocations: 3.984 kB / 0.7332 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.258e-05/0.005402, allocations: 78.89 kB / 0.7333 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.005418, allocations: 4 kB / 0.7333 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.053e-05/0.005449, allocations: 4 kB / 0.7333 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.005476, allocations: 7.922 kB / 0.7333 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.005479, allocations: 4 kB / 0.7333 GB, free: 220 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.246e-05/0.005492, allocations: 10.02 kB / 0.7333 GB, free: 208 kB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.005492, allocations: 4 kB / 0.7333 GB, free: 204 kB / 0.698 GB Notification: Performance of remove unused functions: time 9.291e-05/0.005585, allocations: 11.94 kB / 0.7334 GB, free: 192 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 7.575e-05/0.00566, allocations: 85.91 kB / 0.7334 GB, free: 96 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.423e-05/0.005735, allocations: 28.84 kB / 0.7335 GB, free: 64 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.005738, allocations: 4.625 kB / 0.7335 GB, free: 60 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.012e-05/0.005768, allocations: 16.8 kB / 0.7335 GB, free: 40 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.756e-05/0.005836, allocations: 17.92 kB / 0.7335 GB, free: 24 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.006446, allocations: 148.5 kB / 0.7336 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.006479, allocations: 57.42 kB / 0.7337 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.006505, allocations: 7.25 kB / 0.7337 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.006578, allocations: 67.34 kB / 0.7338 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.006579, allocations: 0 / 0.7338 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.002845/0.009424, allocations: 1.089 MB / 0.7348 GB, free: 14.69 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9501621359959245]