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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 113.5 kB / 17.08 MB, free: 5.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 192.7 kB / 20.02 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 489.3 MB / 0.7687 GB, free: 3.746 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002013/0.002013, allocations: 63.91 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.0025/1.012, allocations: 1.461 MB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004543/1.012, allocations: 195.6 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/1.012, allocations: 0 / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/1.012, allocations: 2.281 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/1.013, allocations: 22.28 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/1.013, allocations: 59.88 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/1.013, allocations: 60 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/1.013, allocations: 5.406 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/1.013, allocations: 23.17 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/1.013, allocations: 23.34 kB / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/1.013, allocations: 7.906 kB / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/1.013, allocations: 4.562 kB / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/1.013, allocations: 13.55 kB / 1.264 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/1.013, allocations: 22.17 kB / 1.264 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/1.014, allocations: 49.66 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.014, allocations: 0 / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/1.014, allocations: 0.9062 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.21e-06/1.014, allocations: 0 / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004824/1.014, allocations: 353.2 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.014, allocations: 13.31 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/1.014, allocations: 8.188 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.97e-05/1.014, allocations: 172.9 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/1.014, allocations: 1.938 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/1.014, allocations: 2 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/1.014, allocations: 75.11 kB / 1.265 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.014, allocations: 0.9062 kB / 1.265 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/1.014, allocations: 8.781 kB / 1.265 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.014, allocations: 1.266 kB / 1.265 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.749e-05/1.015, allocations: 19.38 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/1.015, allocations: 275.2 kB / 1.265 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/1.015, allocations: 37.8 kB / 1.265 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/1.015, allocations: 17.11 kB / 1.265 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/1.015, allocations: 4.844 kB / 1.265 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/1.015, allocations: 62.47 kB / 1.265 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/1.015, allocations: 0.5938 kB / 1.265 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000208/1.015, allocations: 74.11 kB / 1.266 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/1.015, allocations: 104.2 kB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/1.016, allocations: 112 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/1.016, allocations: 27.3 kB / 1.266 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/1.016, allocations: 87.02 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/1.016, allocations: 18.66 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/1.016, allocations: 22.05 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.683e-05/1.016, allocations: 317.2 kB / 1.266 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-05/1.016, allocations: 10.53 kB / 1.266 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/1.016, allocations: 35.94 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/1.016, allocations: 25.11 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.016, allocations: 0.7188 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.477e-05/1.016, allocations: 63.3 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.016, allocations: 5.844 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/1.016, allocations: 0.625 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/1.016, allocations: 0.8125 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/1.016, allocations: 6.859 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.016, allocations: 0.7812 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/1.016, allocations: 10.62 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/1.016, allocations: 6.312 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (5): * Single equations (assignments): 5 * 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.605e-05/1.016, allocations: 132.7 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/1.016, allocations: 6.859 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/1.016, allocations: 5.531 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.016, allocations: 0.875 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.016, allocations: 0.75 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/1.016, allocations: 0.8125 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.18e-05/1.016, allocations: 175.7 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.016, allocations: 1.609 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/1.017, allocations: 3.75 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.017, allocations: 0 / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.017, allocations: 9.281 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.017, allocations: 1.422 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.017, allocations: 0.6875 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/1.017, allocations: 92.72 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/1.017, allocations: 95.83 kB / 1.267 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/1.017, allocations: 2.219 kB / 1.267 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/1.017, allocations: 8.875 kB / 1.267 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/1.017, allocations: 6.734 kB / 1.267 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/1.017, allocations: 2.328 kB / 1.267 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.936e-05/1.017, allocations: 86.39 kB / 1.267 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.017, allocations: 0 / 1.267 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001936/1.017, allocations: 14.75 kB / 1.267 GB, free: 4.211 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001058/1.017, allocations: 100.3 kB / 1.267 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001272/1.017, allocations: 29.23 kB / 1.267 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.017, allocations: 0.9062 kB / 1.267 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/1.017, allocations: 22.69 kB / 1.267 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/1.018, allocations: 7.578 kB / 1.267 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/1.018, allocations: 152.3 kB / 1.267 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/1.018, allocations: 0.6796 MB / 1.268 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/1.018, allocations: 10.53 kB / 1.268 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/1.018, allocations: 0 / 1.268 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of Templates: time 0.002721/1.021, allocations: 0.8291 MB / 1.269 GB, free: 3.191 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.359378044959158]