Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009011/0.009011, allocations: 99.88 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 186.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 68.11 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3144, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003573/0.318, allocations: 1.662 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.3201, allocations: 1.179 MB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.411e-05/0.3202, allocations: 4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.3205, allocations: 23.78 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.3208, allocations: 63.64 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.3213, allocations: 150.9 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.3217, allocations: 253.5 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3218, allocations: 23.92 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.3219, allocations: 83.77 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.3222, allocations: 97.27 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.3222, allocations: 20 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3224, allocations: 71.97 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3225, allocations: 83.81 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3226, allocations: 111.3 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.3229, allocations: 287.1 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.323, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.323, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.323, allocations: 3.984 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007519/0.3237, allocations: 0.544 MB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3238, allocations: 12.03 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.3239, allocations: 24.66 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.3242, allocations: 276.5 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.3242, allocations: 12.38 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.3243, allocations: 12.38 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.3247, allocations: 220.9 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3247, allocations: 3.938 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.3247, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.3247, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.3256, allocations: 0.7526 MB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.3266, allocations: 0.5627 MB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.3269, allocations: 232.9 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3271, allocations: 100.8 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.3271, allocations: 23.95 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.3275, allocations: 177.5 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.3275, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.0006558/0.3281, allocations: 363.6 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.3282, allocations: 132.5 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.3286, allocations: 308.9 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.3286, allocations: 33.7 kB / 1.096 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.3287, allocations: 132.6 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/0.3288, allocations: 106.5 kB / 1.096 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-05/0.3289, allocations: 61.69 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.329, allocations: 334.8 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3291, allocations: 79.95 kB / 1.096 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.3293, allocations: 127.6 kB / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.3297, allocations: 208.7 kB / 1.097 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3297, allocations: 0 / 1.097 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005535/0.3303, allocations: 277.7 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3303, allocations: 4 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3303, allocations: 0 / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.3303, allocations: 4 kB / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.3307, allocations: 63.84 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3307, allocations: 0 / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3309, allocations: 35.67 kB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.331, allocations: 12 kB / 1.097 GB, free: 7.918 MB / 0.8575 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 (34): * Single equations (assignments): 34 * 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.0002396/0.3312, allocations: 171.7 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.3313, allocations: 27.72 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009857/0.3323, allocations: 372.8 kB / 1.098 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3323, allocations: 4 kB / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3324, allocations: 0 / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3324, allocations: 3.938 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.3328, allocations: 329.3 kB / 1.098 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3329, allocations: 0 / 1.098 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.3331, allocations: 59.91 kB / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3331, allocations: 0 / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.3332, allocations: 11.94 kB / 1.098 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3332, allocations: 0 / 1.098 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3332, allocations: 0 / 1.098 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.3339, allocations: 326.2 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.3341, allocations: 152.5 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.3342, allocations: 4 kB / 1.098 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3344, allocations: 15.98 kB / 1.098 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.3345, allocations: 27.91 kB / 1.098 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.3346, allocations: 19.98 kB / 1.098 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002062/0.3348, allocations: 232.4 kB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.3348, allocations: 4 kB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003036/0.3351, allocations: 56 kB / 1.099 GB, free: 6.043 MB / 0.8575 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 (33): * Single equations (assignments): 32 * 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.0009923/0.3361, allocations: 404.2 kB / 1.099 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.3365, allocations: 223.8 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3365, allocations: 0 / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.3367, allocations: 127.8 kB / 1.099 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.337, allocations: 36.61 kB / 1.099 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008164/0.3379, allocations: 0.4897 MB / 1.1 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3382, allocations: 0.754 MB / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003073/0.3385, allocations: 146.8 kB / 1.101 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.3386, allocations: 47.41 kB / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3386, allocations: 0 / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of Templates: time 0.006551/0.3452, allocations: 3.106 MB / 1.104 GB, free: 0.8359 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches