Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001666/0.001666, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002263/0.002263, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.339/3.339, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [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.002047/0.002047, allocations: 69.62 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3738, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003272/0.377, allocations: 1.683 MB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3793, allocations: 1.376 MB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.3794, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.3796, allocations: 23.78 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004593/0.3801, allocations: 114 kB / 1.367 GB, free: 10.34 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/BoundaryConditions/WeatherData/BaseClasses/PartialConvertTime.mo:31:3-34:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition '(not initial() and conTim.canRepeatWeatherFile) and conTim.modTimAux > pre(conTim.tNext)'. Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.3805, allocations: 158.6 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000352/0.3809, allocations: 261.5 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.381, allocations: 13.58 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3811, allocations: 99.69 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.3813, allocations: 91.75 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.3814, allocations: 20 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.3816, allocations: 115.9 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3817, allocations: 91.73 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.3818, allocations: 91.5 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.3823, allocations: 342.6 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.3823, allocations: 8 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3823, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.3823, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000905/0.3832, allocations: 0.494 MB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3833, allocations: 8.031 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.205e-05/0.3834, allocations: 28.75 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.3837, allocations: 221.1 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3837, allocations: 12.7 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.3838, allocations: 16.38 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.3842, allocations: 326.8 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3842, allocations: 4 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3843, allocations: 12 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3843, allocations: 4 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009317/0.3852, allocations: 0.6868 MB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3862, allocations: 0.5002 MB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.3867, allocations: 212.8 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3868, allocations: 101.4 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.3869, allocations: 12.27 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/0.3873, allocations: 223 kB / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.3873, allocations: 0 / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.000731/0.388, allocations: 369.3 kB / 1.371 GB, free: 5.711 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.3881, allocations: 136.5 kB / 1.371 GB, free: 5.547 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.3885, allocations: 320.9 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.3885, allocations: 29.7 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3886, allocations: 136.7 kB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.3887, allocations: 115 kB / 1.372 GB, free: 4.938 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3888, allocations: 69.69 kB / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.389, allocations: 350.7 kB / 1.372 GB, free: 4.512 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3892, allocations: 79.95 kB / 1.373 GB, free: 4.434 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.3894, allocations: 208.5 kB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.3898, allocations: 209.7 kB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3898, allocations: 0 / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004904/0.3903, allocations: 281.3 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3903, allocations: 4 kB / 1.373 GB, free: 3.707 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3903, allocations: 0 / 1.373 GB, free: 3.707 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.3903, allocations: 4 kB / 1.373 GB, free: 3.703 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.3906, allocations: 59.91 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3906, allocations: 4 kB / 1.373 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.3907, allocations: 31.83 kB / 1.373 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.3908, allocations: 15.94 kB / 1.373 GB, free: 3.594 MB / 1.061 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 (36): * Single equations (assignments): 36 * 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.0001918/0.391, allocations: 162.8 kB / 1.373 GB, free: 3.426 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.391, allocations: 27.81 kB / 1.373 GB, free: 3.398 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.3917, allocations: 386 kB / 1.374 GB, free: 3.016 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3917, allocations: 7.984 kB / 1.374 GB, free: 3.008 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3917, allocations: 0 / 1.374 GB, free: 3.008 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3918, allocations: 4 kB / 1.374 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.3921, allocations: 237 kB / 1.374 GB, free: 2.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3921, allocations: 0 / 1.374 GB, free: 2.742 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.3922, allocations: 55.91 kB / 1.374 GB, free: 2.688 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3922, allocations: 4 kB / 1.374 GB, free: 2.684 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3923, allocations: 15.98 kB / 1.374 GB, free: 2.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3923, allocations: 8 kB / 1.374 GB, free: 2.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3923, allocations: 0 / 1.374 GB, free: 2.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.3928, allocations: 322.2 kB / 1.374 GB, free: 2.324 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.3929, allocations: 71.67 kB / 1.375 GB, free: 2.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.393, allocations: 7.984 kB / 1.375 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.3932, allocations: 19.98 kB / 1.375 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.3932, allocations: 27.89 kB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.3932, allocations: 12 kB / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002489/0.3935, allocations: 248.4 kB / 1.375 GB, free: 1.941 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3935, allocations: 3.938 kB / 1.375 GB, free: 1.938 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003299/0.3938, allocations: 79.81 kB / 1.375 GB, free: 1.859 MB / 1.061 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 (34): * Single equations (assignments): 32 * 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 0.001706/0.3955, allocations: 491 kB / 1.375 GB, free: 1.562 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.396, allocations: 227.9 kB / 1.376 GB, free: 1.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.396, allocations: 0 / 1.376 GB, free: 1.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.3962, allocations: 115.9 kB / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.3965, allocations: 29.56 kB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000939/0.3974, allocations: 0.517 MB / 1.376 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.3976, allocations: 151.4 kB / 1.376 GB, free: 496 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003564/0.3979, allocations: 146.8 kB / 1.377 GB, free: 352 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.708e-05/0.398, allocations: 51.41 kB / 1.377 GB, free: 300 kB / 1.061 GB Notification: Performance of SimCode: time 5.81e-07/0.398, allocations: 0 / 1.377 GB, free: 300 kB / 1.061 GB Notification: Performance of Templates: time 0.008473/0.4065, allocations: 3.619 MB / 1.38 GB, free: 12.72 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.337520271539688]