Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002649/0.002649, allocations: 187.6 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.264/3.264, allocations: 495.7 MB / 0.7831 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 61.5 kB / 1.137 GB, free: 33.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3372, allocations: 173.6 MB / 1.307 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002939/0.3401, allocations: 1.481 MB / 1.308 GB, free: 472 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.3406, allocations: 191.3 kB / 1.309 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.3407, allocations: 4 kB / 1.309 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.3407, allocations: 0 / 1.309 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.3409, allocations: 27.84 kB / 1.309 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.3412, allocations: 51.86 kB / 1.309 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.3413, allocations: 55.84 kB / 1.309 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3414, allocations: 7.938 kB / 1.309 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.3415, allocations: 31.91 kB / 1.309 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/0.3415, allocations: 19.92 kB / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.3416, allocations: 4 kB / 1.309 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.3416, allocations: 8 kB / 1.309 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.3416, allocations: 7.984 kB / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.3417, allocations: 31.84 kB / 1.309 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3418, allocations: 43.88 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3418, allocations: 4 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3418, allocations: 0 / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3418, allocations: 0 / 1.309 GB, free: 15.98 MB / 1.014 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.0005631/0.3424, allocations: 266.3 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3424, allocations: 8.031 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.3425, allocations: 8.938 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3426, allocations: 130.3 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3426, allocations: 384 / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3426, allocations: 4.375 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3428, allocations: 68.81 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3428, allocations: 4.188 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.3428, allocations: 7.938 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3428, allocations: 0 / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.849e-05/0.3429, allocations: 27.86 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.3433, allocations: 240 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3435, allocations: 34.56 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.3435, allocations: 16.86 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3435, allocations: 0 / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.3437, allocations: 71.42 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3437, allocations: 0 / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002326/0.3439, allocations: 77.61 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.344, allocations: 102.8 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.3441, allocations: 105.8 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3441, allocations: 25.7 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.3442, allocations: 88.14 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3442, allocations: 3.953 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.3442, allocations: 33.66 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3444, allocations: 314.8 kB / 1.31 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.344e-05/0.3444, allocations: 16.17 kB / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.949e-05/0.3445, allocations: 42.52 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.3445, allocations: 28.84 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3445, allocations: 0 / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001151/0.3447, allocations: 53.69 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3447, allocations: 12.03 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3447, allocations: 0 / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3447, allocations: 0 / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.3448, allocations: 7.938 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3448, allocations: 0 / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3449, allocations: 22.27 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3449, allocations: 0 / 1.311 GB, free: 13.98 MB / 1.014 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.000103/0.345, allocations: 117.8 kB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.345, allocations: 4 kB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.3451, allocations: 11.69 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3451, allocations: 3.984 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3451, allocations: 0 / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3451, allocations: 0 / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3452, allocations: 144.6 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3452, allocations: 4 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.3452, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3452, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.3453, allocations: 7.984 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3453, allocations: 192 / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3453, allocations: 4 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.3454, allocations: 93 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.3455, allocations: 11.92 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.3455, allocations: 4 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3456, allocations: 11.98 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.3456, allocations: 3.984 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3456, allocations: 4 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.3457, allocations: 87.28 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3457, allocations: 0 / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001943/0.3459, allocations: 11.95 kB / 1.311 GB, free: 13.39 MB / 1.014 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.0001391/0.346, allocations: 104 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.3462, allocations: 27.98 kB / 1.311 GB, free: 13.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3462, allocations: 3.938 kB / 1.311 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.3462, allocations: 15.94 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.3464, allocations: 11.94 kB / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.3467, allocations: 125.5 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.347, allocations: 0.6846 MB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.3471, allocations: 4 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.3471, allocations: 7.766 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/0.3471, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of Templates: time 0.003741/0.3508, allocations: 0.9208 MB / 1.313 GB, free: 11.47 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.035467722453177]