Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001991/0.001991, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002112/0.002112, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.038/3.038, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.739e-05, allocations: 3.312 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002806/0.002833, allocations: 1.494 MB / 0.8123 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004581/0.003291, allocations: 183.3 kB / 0.8125 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.003329, allocations: 1.656 kB / 0.8125 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.003354, allocations: 3.984 kB / 0.8125 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.003568, allocations: 23.73 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.003747, allocations: 53.44 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.003873, allocations: 67.78 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.003958, allocations: 11.92 kB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.538e-05/0.004044, allocations: 31.97 kB / 0.8126 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.00412, allocations: 17.67 kB / 0.8127 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.004149, allocations: 7.984 kB / 0.8127 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.00417, allocations: 8 kB / 0.8127 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.004197, allocations: 11.98 kB / 0.8127 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.004249, allocations: 21.11 kB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.004375, allocations: 63.78 kB / 0.8128 GB, free: 140 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004377, allocations: 0 / 0.8128 GB, free: 140 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.12e-07/0.004378, allocations: 2.156 kB / 0.8128 GB, free: 140 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.004381, allocations: 0 / 0.8128 GB, free: 140 kB / 0.7605 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.0006514/0.005033, allocations: 380.2 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.005069, allocations: 12.03 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.005126, allocations: 4.938 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.005272, allocations: 120.5 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.005288, allocations: 0.9062 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.005305, allocations: 5.094 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.005532, allocations: 152.6 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.005544, allocations: 4.672 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.005556, allocations: 1.969 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.00556, allocations: 384 / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.107e-05/0.005631, allocations: 19.94 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.006152, allocations: 279.8 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.006295, allocations: 59.55 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.00634, allocations: 20.59 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.006352, allocations: 0 / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.0065, allocations: 77.77 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.006501, allocations: 0 / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0002533/0.006755, allocations: 90.16 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.00684, allocations: 108.2 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.006981, allocations: 169.9 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.007005, allocations: 25.7 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.007092, allocations: 134.9 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.007118, allocations: 12.66 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.007181, allocations: 35.36 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000253/0.007434, allocations: 497.1 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.007477, allocations: 15.98 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.007594, allocations: 107.7 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.995e-05/0.007684, allocations: 39.75 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007685, allocations: 0 / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001412/0.007827, allocations: 81.52 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.007839, allocations: 4.969 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.007842, allocations: 0 / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.007855, allocations: 2.312 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.007939, allocations: 11.98 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.007946, allocations: 4 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.748e-05/0.008034, allocations: 4 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.008041, allocations: 0 / 0.8151 GB, free: 13.45 MB / 0.7761 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.0001374/0.008179, allocations: 171.9 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.0082, allocations: 7.938 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.008217, allocations: 7.812 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.008219, allocations: 3.938 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.008222, allocations: 4 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.008224, allocations: 0 / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.008359, allocations: 124.6 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00836, allocations: 0 / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.008384, allocations: 4 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.008386, allocations: 0.9688 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.008397, allocations: 7.922 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008399, allocations: 3.938 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008399, allocations: 1 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.008585, allocations: 109 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.008623, allocations: 11.98 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.008645, allocations: 4.5 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.008731, allocations: 9.109 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.00877, allocations: 8 kB / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.008775, allocations: 0 / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.416e-05/0.008859, allocations: 131.9 kB / 0.8157 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008859, allocations: 0 / 0.8157 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001965/0.009056, allocations: 21.05 kB / 0.8157 GB, free: 12.77 MB / 0.7761 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.0001165/0.009172, allocations: 99.25 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.00932, allocations: 48.33 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009321, allocations: 0 / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.009376, allocations: 28.2 kB / 0.8159 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.009532, allocations: 9.062 kB / 0.8159 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.009858, allocations: 138.2 kB / 0.816 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.258e-05/0.009931, allocations: 68.14 kB / 0.8161 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.009969, allocations: 13.02 kB / 0.8161 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.01, allocations: 12.48 kB / 0.8161 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.01, allocations: 0 / 0.8161 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.004037/0.01404, allocations: 0.9983 MB / 0.8171 GB, free: 11.38 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.283947799936868]