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.0009338/0.0009338, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.001454/0.001454, allocations: 173 kB / 23.03 MB, free: 1.547 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 0.9257/0.9257, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.971/1.971, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 1.302e-06/1.302e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.722e-05, allocations: 8.922 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00203/0.002047, allocations: 1.52 MB / 0.8797 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003484/0.002396, allocations: 189.1 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.002431, allocations: 0.7656 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.002459, allocations: 1.094 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.00266, allocations: 30.62 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.002808, allocations: 56.67 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.048e-05/0.002899, allocations: 60.22 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.049e-05/0.002979, allocations: 12.48 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.377e-05/0.003053, allocations: 33.66 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.00312, allocations: 19.91 kB / 0.8801 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.003145, allocations: 8 kB / 0.8801 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.003157, allocations: 4 kB / 0.8801 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.00318, allocations: 17.16 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.003218, allocations: 15.94 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.36e-05/0.003311, allocations: 43.88 kB / 0.8801 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003313, allocations: 4 kB / 0.8802 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003314, allocations: 1.094 kB / 0.8802 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.003318, allocations: 0 / 0.8802 GB, free: 4.32 MB / 0.8386 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.0004328/0.003751, allocations: 385.2 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.003787, allocations: 8.031 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.003832, allocations: 9.609 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.999e-05/0.003922, allocations: 116.6 kB / 0.8806 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.003935, allocations: 4.312 kB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.003949, allocations: 8.375 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.004097, allocations: 145.3 kB / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004105, allocations: 192 / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.004116, allocations: 384 / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.004124, allocations: 384 / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.004161, allocations: 23.91 kB / 0.8808 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.004524, allocations: 279.7 kB / 0.8811 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.004616, allocations: 46.98 kB / 0.8811 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.004641, allocations: 17.12 kB / 0.8811 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.004647, allocations: 0 / 0.8811 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.554e-05/0.004743, allocations: 69.08 kB / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.004744, allocations: 0.9688 kB / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001694/0.004913, allocations: 81.61 kB / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.004961, allocations: 106.8 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.005035, allocations: 167 kB / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.00505, allocations: 29.7 kB / 0.8816 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.005097, allocations: 134.8 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.005118, allocations: 17.48 kB / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.005159, allocations: 27.38 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.005272, allocations: 0.4884 MB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.005294, allocations: 4 kB / 0.8822 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.005352, allocations: 97.33 kB / 0.8823 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.005399, allocations: 23.69 kB / 0.8824 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.005401, allocations: 0 / 0.8824 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.18e-05/0.005492, allocations: 73.62 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.005505, allocations: 7.984 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.005509, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.005521, allocations: 4 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.005585, allocations: 9.656 kB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.005589, allocations: 240 / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.005635, allocations: 10.48 kB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.00564, allocations: 0 / 0.8825 GB, free: 1.703 MB / 0.8386 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 5.995e-05/0.0057, allocations: 161.2 kB / 0.8826 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.005711, allocations: 11.89 kB / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.005727, allocations: 13.41 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005729, allocations: 4 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.005732, allocations: 0 / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.005735, allocations: 3.984 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.189e-05/0.005797, allocations: 121.4 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005798, allocations: 0 / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.005807, allocations: 4.719 kB / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.005808, allocations: 0 / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.005814, allocations: 11.91 kB / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.005815, allocations: 0.5 kB / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.005818, allocations: 3.984 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.916e-05/0.005897, allocations: 108.4 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.005921, allocations: 11.94 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.005938, allocations: 3.938 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.384e-05/0.005972, allocations: 7.984 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.005998, allocations: 7.984 kB / 0.8829 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.006002, allocations: 7.938 kB / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.006034, allocations: 123.2 kB / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006034, allocations: 0 / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001228/0.006157, allocations: 20 kB / 0.8831 GB, free: 1.02 MB / 0.8386 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 6.429e-05/0.006221, allocations: 103.2 kB / 0.8831 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.844e-05/0.006309, allocations: 35.67 kB / 0.8832 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006311, allocations: 0 / 0.8832 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.006337, allocations: 23.62 kB / 0.8832 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.006442, allocations: 13.81 kB / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.006812, allocations: 137.7 kB / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.006976, allocations: 55.36 kB / 0.8834 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.007002, allocations: 8 kB / 0.8834 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.007029, allocations: 20.48 kB / 0.8834 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of SimCode: time 4.2e-07/0.00703, allocations: 0 / 0.8834 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of Templates: time 0.002397/0.009427, allocations: 1.065 MB / 0.8845 GB, free: 15.56 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.014529713895172]