Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001713/0.001713, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001764/0.001764, allocations: 165.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.958/2.958, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.166e-05, allocations: 5.234 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003568/0.003599, allocations: 1.473 MB / 1.002 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005956/0.004195, allocations: 183.3 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.00426, allocations: 0 / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.004301, allocations: 3.938 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.004635, allocations: 23.78 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.004898, allocations: 53.8 kB / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.005059, allocations: 59.83 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.005182, allocations: 19.86 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.005303, allocations: 31.92 kB / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.005409, allocations: 23.95 kB / 1.002 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.00544, allocations: 8 kB / 1.002 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.262e-05/0.005463, allocations: 7.938 kB / 1.002 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.005501, allocations: 15.98 kB / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.005561, allocations: 11.98 kB / 1.002 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.005723, allocations: 63.83 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005726, allocations: 0 / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.62e-07/0.005727, allocations: 0 / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.005732, allocations: 4 kB / 1.002 GB, free: 5.297 MB / 0.9512 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.0007316/0.006464, allocations: 274.3 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.006515, allocations: 8.031 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.006589, allocations: 16.88 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.006757, allocations: 109.7 kB / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.006778, allocations: 384 / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.006799, allocations: 8.375 kB / 1.002 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.007046, allocations: 128.2 kB / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.007058, allocations: 192 / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.007075, allocations: 4.359 kB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.007088, allocations: 8.375 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.007159, allocations: 23.92 kB / 1.003 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.007759, allocations: 216.5 kB / 1.003 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.007956, allocations: 54.44 kB / 1.003 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/0.008033, allocations: 20.94 kB / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.00805, allocations: 0 / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.008328, allocations: 67.33 kB / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.00833, allocations: 0 / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0003619/0.008692, allocations: 81.62 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.00883, allocations: 102.9 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.008964, allocations: 105.8 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.009002, allocations: 33.7 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.009093, allocations: 92.02 kB / 1.003 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.009133, allocations: 23.88 kB / 1.003 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.0092, allocations: 21.7 kB / 1.003 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.00937, allocations: 314.8 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.009417, allocations: 16 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.009524, allocations: 85.97 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.009603, allocations: 36.84 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.009604, allocations: 0 / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001409/0.009745, allocations: 77.52 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.009762, allocations: 6.344 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009767, allocations: 0 / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.009784, allocations: 4.031 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.009865, allocations: 8 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.009872, allocations: 0 / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.009995, allocations: 7.984 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.01001, allocations: 4 kB / 1.004 GB, free: 3.145 MB / 0.9512 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 0.0001143/0.01012, allocations: 114.4 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.01014, allocations: 7.891 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.01017, allocations: 15.8 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01017, allocations: 0 / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01018, allocations: 0 / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01018, allocations: 4 kB / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.01032, allocations: 113.8 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01032, allocations: 3.938 kB / 1.004 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.01035, allocations: 8 kB / 1.004 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01035, allocations: 0 / 1.004 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.01037, allocations: 3.938 kB / 1.004 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.01037, allocations: 4 kB / 1.004 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01037, allocations: 3.938 kB / 1.004 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.01053, allocations: 93.11 kB / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.01057, allocations: 11.94 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.0106, allocations: 7.938 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.01074, allocations: 11.98 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.01079, allocations: 4 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.01082, allocations: 4 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.744e-05/0.01089, allocations: 87.27 kB / 1.004 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.01089, allocations: 3.938 kB / 1.004 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001998/0.01109, allocations: 12 kB / 1.004 GB, free: 2.578 MB / 0.9512 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.0001411/0.01123, allocations: 99.19 kB / 1.005 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.0114, allocations: 44.22 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.0114, allocations: 4 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.059e-05/0.01146, allocations: 15.98 kB / 1.005 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.01167, allocations: 4 kB / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.01206, allocations: 132.7 kB / 1.005 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.754e-05/0.01215, allocations: 63.34 kB / 1.005 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.0122, allocations: 11.97 kB / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.01224, allocations: 12.5 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of SimCode: time 4.71e-07/0.01224, allocations: 0 / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of Templates: time 0.004347/0.01659, allocations: 0.9874 MB / 1.006 GB, free: 1.207 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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: 8.37362390384078]