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.0008557/0.0008557, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007777/0.0007777, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8557/0.8557, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.788/1.788, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.433e-06/1.433e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.537e-05, allocations: 6.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001823/0.001848, allocations: 1.471 MB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003372/0.002185, allocations: 180.1 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.002222, allocations: 0 / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.00225, allocations: 3.938 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.002463, allocations: 27.77 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.002606, allocations: 58.92 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.002702, allocations: 75.77 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.00279, allocations: 7.938 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.002856, allocations: 31.97 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.00293, allocations: 23.89 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.002957, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.002967, allocations: 8 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.002989, allocations: 11.98 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.003026, allocations: 19.92 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.003131, allocations: 59.89 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.003133, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003134, allocations: 4 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003138, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 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.0004499/0.003588, allocations: 274.3 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.003626, allocations: 12.75 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.003667, allocations: 8.875 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.024e-05/0.003757, allocations: 109.7 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.003772, allocations: 4.375 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.003784, allocations: 8.375 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.003931, allocations: 132.1 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003939, allocations: 192 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.00395, allocations: 8.375 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003954, allocations: 384 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.439e-05/0.003999, allocations: 23.92 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.004338, allocations: 224.4 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.004432, allocations: 42.56 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.004458, allocations: 16.94 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.004467, allocations: 7.938 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.004601, allocations: 67.33 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.004602, allocations: 0 / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.00017/0.004772, allocations: 81.62 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.004829, allocations: 106.8 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.005128, allocations: 110.1 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.005142, allocations: 33.64 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.00518, allocations: 88.09 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.005199, allocations: 15.88 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.005232, allocations: 21.72 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.005303, allocations: 314.8 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/0.005327, allocations: 16 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.379e-05/0.005381, allocations: 89.97 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.005431, allocations: 36.78 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005433, allocations: 4.031 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.256e-05/0.005516, allocations: 77.58 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.005529, allocations: 4 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005533, allocations: 0 / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.005545, allocations: 0 / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.005606, allocations: 8 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.00561, allocations: 0 / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.00567, allocations: 7.984 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.005677, allocations: 0 / 1.005 GB, free: 8.836 MB / 0.9636 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.305e-05/0.00574, allocations: 125.8 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.005753, allocations: 7.891 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.924e-05/0.005772, allocations: 11.8 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.005776, allocations: 4 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.00578, allocations: 0 / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005783, allocations: 0 / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.947e-05/0.005852, allocations: 113.4 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005853, allocations: 0 / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.005865, allocations: 4 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.005868, allocations: 3.984 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.005875, allocations: 3.938 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005875, allocations: 4 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005876, allocations: 3.938 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.977e-05/0.005966, allocations: 97.11 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.005993, allocations: 7.953 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.00601, allocations: 8.234 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.006058, allocations: 15.98 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.006087, allocations: 7.938 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.006091, allocations: 0 / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.006123, allocations: 91.27 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006123, allocations: 0 / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000129/0.006252, allocations: 15.94 kB / 1.005 GB, free: 8.258 MB / 0.9636 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 8.482e-05/0.006337, allocations: 99.25 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.814e-05/0.006435, allocations: 35.98 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006436, allocations: 0 / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.006463, allocations: 19.94 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.006574, allocations: 3.984 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.006832, allocations: 158.4 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.006871, allocations: 63.34 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.0069, allocations: 20.5 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.0069, allocations: 0 / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of Templates: time 0.001642/0.008543, allocations: 0.8897 MB / 1.006 GB, free: 6.93 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.525497443974018]