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.001868/0.001868, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002262/0.002262, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.532/1.532, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 2.824/2.824, allocations: 377.8 MB / 0.6232 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.914e-06/1.914e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.316e-05, allocations: 4.219 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.004106/0.00414, allocations: 1.475 MB / 0.8123 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00066/0.004799, allocations: 184.5 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.004865, allocations: 3.938 kB / 0.8125 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.004905, allocations: 4.625 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.005267, allocations: 20.77 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.005552, allocations: 55.91 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.005716, allocations: 64.42 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.00583, allocations: 9.188 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.005977, allocations: 35.97 kB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.00608, allocations: 23.89 kB / 0.8127 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.006118, allocations: 8.875 kB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.006136, allocations: 4 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.00617, allocations: 8 kB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.006242, allocations: 25 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.006411, allocations: 51.86 kB / 0.8127 GB, free: 128 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.006415, allocations: 0 / 0.8127 GB, free: 128 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.923e-06/0.006417, allocations: 1.562 kB / 0.8128 GB, free: 128 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.006427, allocations: 4 kB / 0.8128 GB, free: 124 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.000863/0.00729, allocations: 278.3 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.007348, allocations: 9.562 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.007431, allocations: 8.938 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.007629, allocations: 121.7 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.007655, allocations: 4.375 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.00768, allocations: 6.125 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.007995, allocations: 132.2 kB / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.008006, allocations: 192 / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.008023, allocations: 384 / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.008029, allocations: 384 / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.364e-05/0.008123, allocations: 33.14 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006408/0.008764, allocations: 216.5 kB / 0.8135 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.008944, allocations: 43.78 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.009, allocations: 12.95 kB / 0.8136 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.009018, allocations: 7.984 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.009267, allocations: 68.05 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 2.315e-06/0.00927, allocations: 0.5312 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0003177/0.009588, allocations: 85.58 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.009693, allocations: 104.9 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.009846, allocations: 105.8 kB / 0.8139 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.009887, allocations: 33.7 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.009969, allocations: 80.14 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.01001, allocations: 23.83 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.01008, allocations: 18.25 kB / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.01029, allocations: 318.8 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.546e-05/0.01035, allocations: 16.72 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.01049, allocations: 94.02 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.01059, allocations: 38.8 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01059, allocations: 0 / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002029/0.01079, allocations: 73.58 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.01082, allocations: 11.98 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.01082, allocations: 0.625 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.01085, allocations: 5 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.01094, allocations: 4 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.01094, allocations: 0 / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.0111, allocations: 16.73 kB / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.01111, allocations: 0.625 kB / 0.8146 GB, free: 13.97 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.0001404/0.01125, allocations: 119.1 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.01128, allocations: 7.938 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.0113, allocations: 3.812 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.01131, allocations: 7.984 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01131, allocations: 0.8125 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01132, allocations: 3.984 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.01148, allocations: 114.2 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01148, allocations: 0 / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.01152, allocations: 13.22 kB / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01152, allocations: 0 / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.01154, allocations: 3.938 kB / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01154, allocations: 0 / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01155, allocations: 0.9688 kB / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.01173, allocations: 97.05 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.01177, allocations: 14.3 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.0118, allocations: 7.938 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.01191, allocations: 7.984 kB / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.01196, allocations: 0 / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.01196, allocations: 4 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.779e-05/0.01203, allocations: 91.33 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01203, allocations: 3.438 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002129/0.01225, allocations: 15.95 kB / 0.8151 GB, free: 13.42 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.0001462/0.01239, allocations: 103.2 kB / 0.8152 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.01254, allocations: 31.98 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01255, allocations: 0 / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.0126, allocations: 15.94 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.01278, allocations: 13.86 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.01317, allocations: 129.5 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.234e-05/0.01325, allocations: 79.67 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.01329, allocations: 4.562 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.01333, allocations: 12.5 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01333, allocations: 0.5625 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.004135/0.01747, allocations: 0.9904 MB / 0.8165 GB, free: 12.07 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] 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: 7.764726298977621]