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.001064/0.001064, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.001648/0.001648, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.021/1.021, allocations: 177.1 MB / 204.5 MB, free: 5.121 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 2.063/2.063, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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.293e-06/1.293e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.527e-05, allocations: 3.078 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00201/0.002025, allocations: 1.515 MB / 0.8809 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003427/0.002368, allocations: 195.2 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.002405, allocations: 0.7656 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.00243, allocations: 3.938 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.002617, allocations: 20.58 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.002963, allocations: 59.83 kB / 0.8812 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.091e-05/0.003044, allocations: 59.84 kB / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.003118, allocations: 4.938 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.003184, allocations: 43.89 kB / 0.8813 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.003249, allocations: 20.97 kB / 0.8813 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.003268, allocations: 4 kB / 0.8813 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.003278, allocations: 4 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.003309, allocations: 20.89 kB / 0.8813 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.00334, allocations: 15.98 kB / 0.8813 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.08e-05/0.00342, allocations: 43.88 kB / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003422, allocations: 0.75 kB / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003423, allocations: 0 / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003427, allocations: 0.5 kB / 0.8814 GB, free: 4.008 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.0003484/0.003775, allocations: 387.9 kB / 0.8817 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.003807, allocations: 8.031 kB / 0.8817 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.003836, allocations: 8.891 kB / 0.8818 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.277e-05/0.003909, allocations: 112.6 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.003921, allocations: 4.375 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.003934, allocations: 12.3 kB / 0.8819 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.00405, allocations: 141.4 kB / 0.882 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.004055, allocations: 192 / 0.882 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.004066, allocations: 8.375 kB / 0.882 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.00407, allocations: 1 kB / 0.882 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.004093, allocations: 16.52 kB / 0.882 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.004387, allocations: 260.3 kB / 0.8823 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.037e-05/0.004458, allocations: 44.09 kB / 0.8823 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.004474, allocations: 16.45 kB / 0.8823 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.00448, allocations: 4 kB / 0.8823 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.934e-05/0.004559, allocations: 58.58 kB / 0.8824 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.00456, allocations: 0 / 0.8824 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001238/0.004684, allocations: 73.56 kB / 0.8825 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.00473, allocations: 114.8 kB / 0.8826 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.877e-05/0.004789, allocations: 161.9 kB / 0.8827 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.004804, allocations: 33.7 kB / 0.8828 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.004846, allocations: 134.8 kB / 0.8829 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.004863, allocations: 11.91 kB / 0.8829 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.004897, allocations: 31.34 kB / 0.8829 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.004995, allocations: 0.4883 MB / 0.8834 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.005008, allocations: 7.984 kB / 0.8834 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.00506, allocations: 90.44 kB / 0.8835 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.737e-05/0.005098, allocations: 27.62 kB / 0.8835 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005099, allocations: 0 / 0.8835 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.693e-05/0.005166, allocations: 69.7 kB / 0.8836 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.005178, allocations: 7.938 kB / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.005181, allocations: 0 / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.005194, allocations: 0 / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.005244, allocations: 8 kB / 0.8836 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.005247, allocations: 4.219 kB / 0.8836 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.005297, allocations: 4 kB / 0.8836 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.005303, allocations: 7.938 kB / 0.8836 GB, free: 1.426 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 6.765e-05/0.00537, allocations: 160.6 kB / 0.8838 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.005383, allocations: 11.94 kB / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.0054, allocations: 11.75 kB / 0.8838 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005402, allocations: 0 / 0.8838 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.005404, allocations: 0 / 0.8838 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.005406, allocations: 0.5 kB / 0.8838 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.098e-05/0.005477, allocations: 105.2 kB / 0.8839 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005478, allocations: 0 / 0.8839 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.00549, allocations: 8 kB / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005491, allocations: 0 / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.005496, allocations: 0 / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.005497, allocations: 3.984 kB / 0.8839 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.005499, allocations: 3.938 kB / 0.8839 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.411e-05/0.005583, allocations: 116.3 kB / 0.884 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.005606, allocations: 3.938 kB / 0.884 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.005622, allocations: 7.984 kB / 0.884 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.005657, allocations: 8 kB / 0.8841 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.005681, allocations: 7.922 kB / 0.8841 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.005686, allocations: 4 kB / 0.8841 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.215e-05/0.005718, allocations: 123.2 kB / 0.8842 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005718, allocations: 0 / 0.8842 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000122/0.00584, allocations: 8 kB / 0.8842 GB, free: 0.7891 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 7.216e-05/0.005912, allocations: 111.2 kB / 0.8843 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.631e-05/0.005988, allocations: 35.55 kB / 0.8843 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005989, allocations: 0 / 0.8843 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.006012, allocations: 19.69 kB / 0.8844 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.006129, allocations: 13.81 kB / 0.8844 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.006498, allocations: 142.2 kB / 0.8845 GB, free: 440 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.006531, allocations: 55.36 kB / 0.8846 GB, free: 364 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.006563, allocations: 7.984 kB / 0.8846 GB, free: 356 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/0.006646, allocations: 94.17 kB / 0.8847 GB, free: 260 kB / 0.8386 GB Notification: Performance of SimCode: time 7.81e-07/0.006647, allocations: 0 / 0.8847 GB, free: 260 kB / 0.8386 GB Notification: Performance of Templates: time 0.002522/0.009169, allocations: 1.091 MB / 0.8857 GB, free: 15.21 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.24289239756763]