Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.0007889/0.0007889, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001887, 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.0006858/0.0006858, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000935/0.001621, allocations: 479.5 kB / 11.82 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.9634/0.9634, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08967/1.053, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.853/1.853, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4715/2.325, allocations: 123.3 MB / 0.7283 GB, free: 5.707 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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.671e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002159/0.002176, allocations: 1.574 MB / 0.7312 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002673/0.002443, allocations: 181.2 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.002475, allocations: 0 / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.002496, allocations: 0 / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.002611, allocations: 28.22 kB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.002757, allocations: 52.89 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.002856, allocations: 62.5 kB / 0.7315 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.174e-05/0.002917, allocations: 12.69 kB / 0.7315 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.003003, allocations: 43.36 kB / 0.7316 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.003062, allocations: 16.95 kB / 0.7316 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.003086, allocations: 4.656 kB / 0.7316 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.003098, allocations: 12.62 kB / 0.7316 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.003123, allocations: 10.08 kB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.00315, allocations: 10.77 kB / 0.7316 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.503e-05/0.003235, allocations: 38.36 kB / 0.7317 GB, free: 2.375 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.003245, allocations: 0 / 0.7317 GB, free: 2.375 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003246, allocations: 0 / 0.7317 GB, free: 2.375 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.003257, allocations: 0.6562 kB / 0.7317 GB, free: 2.375 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.0003926/0.003649, allocations: 265.5 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.003679, allocations: 8.031 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.00371, allocations: 6.125 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.744e-05/0.003787, allocations: 113.7 kB / 0.732 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.003799, allocations: 4.375 kB / 0.732 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.003816, allocations: 9.969 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.003931, allocations: 132.9 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.003937, allocations: 1.062 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.003945, allocations: 384 / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.00395, allocations: 1.25 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.003975, allocations: 15.92 kB / 0.7322 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.004227, allocations: 172.7 kB / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.75e-05/0.004294, allocations: 32.45 kB / 0.7324 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.004312, allocations: 12.95 kB / 0.7324 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.00432, allocations: 3.984 kB / 0.7324 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.786e-05/0.004408, allocations: 60.05 kB / 0.7325 GB, free: 1.441 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.004409, allocations: 1.094 kB / 0.7325 GB, free: 1.441 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001042/0.004513, allocations: 57.56 kB / 0.7325 GB, free: 1.379 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.004548, allocations: 55.91 kB / 0.7326 GB, free: 1.312 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.004606, allocations: 110.7 kB / 0.7327 GB, free: 1.191 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.004621, allocations: 26.7 kB / 0.7327 GB, free: 1.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.004658, allocations: 88.08 kB / 0.7328 GB, free: 1.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.004677, allocations: 16.81 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.004718, allocations: 29.69 kB / 0.7328 GB, free: 1.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.004802, allocations: 314.8 kB / 0.7331 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.004817, allocations: 5.031 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.004867, allocations: 82.98 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.004908, allocations: 24.78 kB / 0.7332 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.00491, allocations: 4 kB / 0.7332 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.876e-05/0.004979, allocations: 50.38 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.004991, allocations: 5.406 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.004996, allocations: 5.719 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.005008, allocations: 4 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.005077, allocations: 19.97 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.00508, allocations: 0 / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.005134, allocations: 5.219 kB / 0.7333 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.00514, allocations: 4 kB / 0.7333 GB, free: 484 kB / 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 7.23e-05/0.005213, allocations: 121.8 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.005223, allocations: 6.062 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/0.008258, allocations: 11.75 kB / 0.7335 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.008259, allocations: 0 / 0.7335 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.008261, allocations: 0 / 0.7335 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.008264, allocations: 0 / 0.7335 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.344e-05/0.008337, allocations: 74.59 kB / 0.7335 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008338, allocations: 0 / 0.7335 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.614e-05/0.008355, allocations: 4.812 kB / 0.7335 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.008381, allocations: 11.98 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.008383, allocations: 0 / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.008387, allocations: 0.6875 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.008389, allocations: 5.75 kB / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.00839, allocations: 0 / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.342e-05/0.008464, allocations: 77.05 kB / 0.7336 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.00848, allocations: 3.984 kB / 0.7336 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.008523, allocations: 8 kB / 0.7337 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.008547, allocations: 13.11 kB / 0.7337 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.008551, allocations: 0 / 0.7337 GB, free: 100 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.51e-05/0.008566, allocations: 12.92 kB / 0.7337 GB, free: 84 kB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.008566, allocations: 4.469 kB / 0.7337 GB, free: 80 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001469/0.008713, allocations: 16 kB / 0.7337 GB, free: 64 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 8.598e-05/0.008799, allocations: 85.25 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.008871, allocations: 25.62 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.008874, allocations: 0 / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.008903, allocations: 18.77 kB / 0.7338 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.736e-05/0.00898, allocations: 16.59 kB / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.009672, allocations: 151.2 kB / 0.734 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.912e-05/0.009701, allocations: 58.11 kB / 0.734 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.00973, allocations: 4 kB / 0.734 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.009817, allocations: 71.34 kB / 0.7341 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.009818, allocations: 0 / 0.7341 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.005733/0.01555, allocations: 1.1 MB / 0.7352 GB, free: 14.56 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.79922750312835]