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.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.001366/0.001366, allocations: 110 kB / 18.93 MB, free: 2.945 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.001436/0.001436, allocations: 188 kB / 22.22 MB, free: 5.164 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.442/1.442, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.289/3.289, allocations: 496 MB / 0.7835 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_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 0.002219/0.002219, allocations: 65.92 kB / 1.138 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3816, allocations: 173.6 MB / 1.307 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002782/0.3844, allocations: 1.475 MB / 1.309 GB, free: 172 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004758/0.3849, allocations: 191.4 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.3849, allocations: 4 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.3849, allocations: 3.938 kB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.3852, allocations: 23.86 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.3854, allocations: 54.41 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.3855, allocations: 55.84 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.3856, allocations: 11.92 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.3856, allocations: 23.88 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.3857, allocations: 35.89 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3857, allocations: 4 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.3857, allocations: 4 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.3858, allocations: 8 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.3858, allocations: 23.86 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3859, allocations: 47.86 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3859, allocations: 0 / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3859, allocations: 0 / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3859, allocations: 0 / 1.309 GB, free: 15.69 MB / 1.014 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.0005442/0.3865, allocations: 278.3 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3865, allocations: 12.92 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.3866, allocations: 4.875 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3867, allocations: 114.4 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3867, allocations: 4.375 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3867, allocations: 4.375 kB / 1.31 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3869, allocations: 76.75 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3869, allocations: 192 / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3869, allocations: 7.938 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3869, allocations: 0 / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.853e-05/0.387, allocations: 15.98 kB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.3874, allocations: 243.9 kB / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/0.3875, allocations: 38.56 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.3875, allocations: 12.86 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.3875, allocations: 4 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.3877, allocations: 67.47 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3877, allocations: 0 / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002297/0.3879, allocations: 73.58 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.388, allocations: 102.8 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/0.3881, allocations: 105.8 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.3881, allocations: 33.7 kB / 1.31 GB, free: 14.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3882, allocations: 88.12 kB / 1.31 GB, free: 14.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3882, allocations: 11.94 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.3883, allocations: 21.67 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3884, allocations: 322.8 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.3884, allocations: 15.94 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/0.3885, allocations: 30.56 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.817e-05/0.3886, allocations: 33.17 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3886, allocations: 4.031 kB / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00011/0.3887, allocations: 61.88 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3887, allocations: 4 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3887, allocations: 0 / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3887, allocations: 3.984 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.3888, allocations: 8 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3888, allocations: 3.984 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3889, allocations: 7.938 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3889, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 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 0.0001136/0.389, allocations: 125.8 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.389, allocations: 4 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.3891, allocations: 3.688 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3891, allocations: 3.938 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3891, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3891, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.3892, allocations: 156.5 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3892, allocations: 0 / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.3892, allocations: 0 / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3892, allocations: 4 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3892, allocations: 4 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3892, allocations: 0 / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3892, allocations: 0 / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.3894, allocations: 89.05 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.3894, allocations: 11.98 kB / 1.311 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3894, allocations: 4 kB / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3896, allocations: 7.984 kB / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.3896, allocations: 0 / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3896, allocations: 12.06 kB / 1.311 GB, free: 13.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.3897, allocations: 91.2 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3897, allocations: 0 / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002018/0.3899, allocations: 19.95 kB / 1.311 GB, free: 13.09 MB / 1.014 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.0001163/0.39, allocations: 96.05 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.3901, allocations: 27.98 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3901, allocations: 7.938 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.3902, allocations: 12 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.3903, allocations: 14.34 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.3907, allocations: 125.5 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.3911, allocations: 0.6807 MB / 1.312 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.3912, allocations: 4 kB / 1.312 GB, free: 12.06 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.3912, allocations: 15.42 kB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.3912, allocations: 0 / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of Templates: time 0.003533/0.3947, allocations: 0.9199 MB / 1.313 GB, free: 11.18 MB / 1.014 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: 9.028873420320451]