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.0013/0.0013, allocations: 105.2 kB / 17.07 MB, free: 5.965 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.001348/0.001348, allocations: 190.2 kB / 20.03 MB, free: 3.039 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.455/1.455, allocations: 222.9 MB / 245.7 MB, free: 4.344 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 489.3 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002039/0.002039, allocations: 75.88 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9468/0.9488, allocations: 163.8 MB / 1.263 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002482/0.9514, allocations: 1.447 MB / 1.264 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004178/0.9518, allocations: 193.2 kB / 1.264 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.9519, allocations: 0.625 kB / 1.264 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.9519, allocations: 0.6094 kB / 1.264 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.9521, allocations: 27.2 kB / 1.264 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.9524, allocations: 64.45 kB / 1.264 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.9525, allocations: 63.39 kB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.9526, allocations: 4.953 kB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.863e-05/0.9527, allocations: 27.77 kB / 1.264 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.9528, allocations: 26.88 kB / 1.264 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.9528, allocations: 4.219 kB / 1.264 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.9528, allocations: 4.844 kB / 1.264 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.9528, allocations: 9.391 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.9529, allocations: 22.11 kB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.953, allocations: 49.11 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9531, allocations: 0 / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9531, allocations: 0.9688 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.9531, allocations: 0 / 1.264 GB, free: 6.941 MB / 0.9981 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.0005412/0.9536, allocations: 357.6 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.9537, allocations: 9.625 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.9537, allocations: 4.344 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.9538, allocations: 176.6 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.9539, allocations: 1.875 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.9539, allocations: 2.531 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.9541, allocations: 75.38 kB / 1.265 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9541, allocations: 4.188 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.9541, allocations: 5.188 kB / 1.265 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.9541, allocations: 0.7188 kB / 1.265 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.206e-05/0.9542, allocations: 15.78 kB / 1.265 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.9546, allocations: 275.3 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.9547, allocations: 38.16 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.9547, allocations: 20.86 kB / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.9547, allocations: 1.094 kB / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.9549, allocations: 66 kB / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.9549, allocations: 0 / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002539/0.9552, allocations: 74.27 kB / 1.266 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.9552, allocations: 109.2 kB / 1.266 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.9553, allocations: 103.5 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.9553, allocations: 27.27 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.9554, allocations: 86.83 kB / 1.266 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.9554, allocations: 18.48 kB / 1.266 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.9554, allocations: 22.08 kB / 1.266 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.9555, allocations: 318.1 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.33e-05/0.9555, allocations: 10.28 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.9556, allocations: 35.67 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.578e-05/0.9556, allocations: 29.62 kB / 1.266 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9557, allocations: 384 / 1.266 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001005/0.9558, allocations: 67.11 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.9558, allocations: 6.016 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.9558, allocations: 0 / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.9558, allocations: 1.531 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.9559, allocations: 6.266 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.9559, allocations: 4.609 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.956, allocations: 12.56 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.956, allocations: 2.484 kB / 1.266 GB, free: 5.035 MB / 0.9981 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 6.801e-05/0.9561, allocations: 129 kB / 1.267 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.9561, allocations: 7.156 kB / 1.267 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.9562, allocations: 9.062 kB / 1.267 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.9562, allocations: 4.766 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.9562, allocations: 0.8438 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9562, allocations: 0.5625 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.9563, allocations: 168.1 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.9563, allocations: 1.391 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.9563, allocations: 3.547 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.9563, allocations: 5 kB / 1.267 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.9563, allocations: 4.516 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.9564, allocations: 1.453 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9564, allocations: 0.6875 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.9565, allocations: 88.75 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.9565, allocations: 91.97 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.9566, allocations: 1.141 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.9567, allocations: 9.203 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.9567, allocations: 7.609 kB / 1.267 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.9568, allocations: 6.203 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.9568, allocations: 85.98 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9568, allocations: 0.8438 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001938/0.957, allocations: 13.56 kB / 1.267 GB, free: 4.418 MB / 0.9981 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.0001158/0.9571, allocations: 103 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.9573, allocations: 29.34 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.9573, allocations: 4 kB / 1.267 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.9573, allocations: 18.48 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.9575, allocations: 10.45 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.9578, allocations: 152.9 kB / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.958, allocations: 0.6796 MB / 1.268 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.958, allocations: 10.31 kB / 1.268 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.958, allocations: 1.125 kB / 1.268 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of Templates: time 0.002856/0.9608, allocations: 0.8268 MB / 1.269 GB, free: 3.398 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time [Calling sys.exit(0), Time elapsed: 11.34846330108121]