Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.00186/0.00186, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002321/0.002321, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.516/1.516, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.128/3.128, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 67.91 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.849, allocations: 168.7 MB / 1.274 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002781/0.8518, allocations: 1.476 MB / 1.276 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004192/0.8522, allocations: 187.4 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.8522, allocations: 0 / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.8523, allocations: 3.938 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.8525, allocations: 27.53 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.8527, allocations: 55.8 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.8528, allocations: 59.84 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.8529, allocations: 7.969 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.8529, allocations: 23.94 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.063e-05/0.853, allocations: 23.91 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.8531, allocations: 4 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.8531, allocations: 4 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.8531, allocations: 11.98 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.8531, allocations: 23.86 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.8533, allocations: 59.59 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.8533, allocations: 0 / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8533, allocations: 0 / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.8533, allocations: 0 / 1.276 GB, free: 2.488 MB / 0.9669 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.0006016/0.8539, allocations: 358.1 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.8539, allocations: 8.031 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.854, allocations: 4.938 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.8541, allocations: 172.3 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.8541, allocations: 384 / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.8541, allocations: 12.38 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.8543, allocations: 68.81 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.8543, allocations: 4.125 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.8543, allocations: 7.938 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.8543, allocations: 3.938 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.8544, allocations: 12 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.8548, allocations: 276.9 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.551e-05/0.8549, allocations: 38.56 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.8549, allocations: 16.8 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.8549, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.8551, allocations: 59.48 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 3.016e-06/0.8551, allocations: 3.984 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002078/0.8553, allocations: 81.62 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.8554, allocations: 106.8 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.8555, allocations: 113.8 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.8555, allocations: 25.7 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.8555, allocations: 84.14 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.8555, allocations: 11.89 kB / 1.277 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.8556, allocations: 17.7 kB / 1.277 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.8557, allocations: 322.8 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.989e-05/0.8557, allocations: 15.98 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.8558, allocations: 34.52 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.8558, allocations: 24.84 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.8558, allocations: 4 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.856, allocations: 61.59 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.856, allocations: 7.984 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.856, allocations: 4 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.856, allocations: 0 / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.856, allocations: 8.031 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.8561, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.8562, allocations: 13.86 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.8562, allocations: 0 / 1.278 GB, free: 296 kB / 0.9669 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 9.428e-05/0.8563, allocations: 117.8 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.8563, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.8563, allocations: 7.5 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8563, allocations: 3.984 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.8563, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.8563, allocations: 4 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.8565, allocations: 174 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8565, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.8565, allocations: 8 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.8565, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.8565, allocations: 3.984 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8565, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8565, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.8566, allocations: 100.9 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.8567, allocations: 89.09 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.8567, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.8568, allocations: 7.984 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.8569, allocations: 7.984 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.8569, allocations: 0 / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.898e-05/0.8569, allocations: 83.28 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8569, allocations: 4 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001911/0.8571, allocations: 8 kB / 1.278 GB, free: 15.59 MB / 0.9825 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.0001288/0.8572, allocations: 111.8 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.8574, allocations: 31.92 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8574, allocations: 4 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.8574, allocations: 15.94 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.8576, allocations: 3.938 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.8579, allocations: 143 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.8582, allocations: 0.6885 MB / 1.279 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.8583, allocations: 4.328 kB / 1.279 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.8583, allocations: 11.44 kB / 1.279 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8583, allocations: 0 / 1.279 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.003324/0.8616, allocations: 0.8906 MB / 1.28 GB, free: 13.67 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.03274602117017]