Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001391/0.001391, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001659/0.001659, allocations: 217.4 kB / 23.01 MB, free: 4.609 MB / 14.72 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 65.94 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3724, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003084/0.3755, allocations: 1.495 MB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004996/0.376, allocations: 195.5 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.376, allocations: 3.938 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.3761, allocations: 0 / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.3763, allocations: 19.84 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.3765, allocations: 63.86 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3766, allocations: 55.84 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3767, allocations: 7.938 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.3768, allocations: 31.91 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.3769, allocations: 15.92 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3769, allocations: 4 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.3769, allocations: 4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.377, allocations: 11.98 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.377, allocations: 27.91 kB / 1.287 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.3771, allocations: 39.88 kB / 1.287 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3772, allocations: 0 / 1.287 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3772, allocations: 4 kB / 1.287 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3772, allocations: 0 / 1.287 GB, free: 9.289 MB / 0.9825 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.0005915/0.3778, allocations: 278.3 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3778, allocations: 8.031 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.3778, allocations: 8.891 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.378, allocations: 118.4 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.378, allocations: 4.312 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.378, allocations: 8.312 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3782, allocations: 72.81 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3782, allocations: 192 / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.3782, allocations: 7.938 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3782, allocations: 4 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.687e-05/0.3783, allocations: 15.98 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.3787, allocations: 247.9 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3788, allocations: 42.56 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.3789, allocations: 12.86 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.3789, allocations: 0 / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.3791, allocations: 67.42 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3791, allocations: 0 / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002359/0.3793, allocations: 77.67 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/0.3794, allocations: 106.8 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3795, allocations: 105.8 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3795, allocations: 25.7 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.3796, allocations: 84.14 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.3796, allocations: 15.89 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.3796, allocations: 17.72 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002731/0.3799, allocations: 322.8 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.3799, allocations: 8 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/0.38, allocations: 42.5 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.177e-05/0.3801, allocations: 25.23 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3801, allocations: 4 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001037/0.3802, allocations: 57.69 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-05/0.3803, allocations: 4 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3803, allocations: 0 / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3803, allocations: 4 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.3804, allocations: 4 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3804, allocations: 0 / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.3805, allocations: 19.89 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3805, allocations: 8 kB / 1.288 GB, free: 7.277 MB / 0.9825 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.0001119/0.3806, allocations: 114 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.3806, allocations: 11.88 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.3806, allocations: 11.67 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3806, allocations: 4 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3806, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3806, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.3808, allocations: 148.7 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3808, allocations: 0 / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.3808, allocations: 4 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3808, allocations: 3.938 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3808, allocations: 0 / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3808, allocations: 0 / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3808, allocations: 0 / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.381, allocations: 96.98 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.381, allocations: 7.953 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.3811, allocations: 7.984 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3812, allocations: 8 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.3812, allocations: 7.984 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3812, allocations: 0 / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.139e-05/0.3813, allocations: 91.33 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3813, allocations: 4 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001986/0.3815, allocations: 8 kB / 1.289 GB, free: 6.688 MB / 0.9825 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.0001313/0.3816, allocations: 103.2 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.3818, allocations: 27.98 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3818, allocations: 0 / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.3818, allocations: 15.94 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.382, allocations: 7.938 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.3823, allocations: 147.3 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3827, allocations: 0.6768 MB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.3827, allocations: 19.44 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3827, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of Templates: time 0.00265/0.3854, allocations: 0.8307 MB / 1.291 GB, free: 4.809 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.97254588699434]