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.007604/0.007604, allocations: 105.9 kB / 15.73 MB, free: 6 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.00172/0.00172, allocations: 189 kB / 16.67 MB, free: 5.926 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.439/1.439, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.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.281/2.281, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.84 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002958/1.115, allocations: 1.65 MB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001673/1.116, allocations: 1.181 MB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/1.116, allocations: 1.094 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002394/1.117, allocations: 24.69 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002951/1.117, allocations: 66.48 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/1.117, allocations: 152.3 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/1.118, allocations: 256.2 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/1.118, allocations: 18.3 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/1.118, allocations: 80.52 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/1.118, allocations: 95.03 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/1.118, allocations: 17.75 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/1.118, allocations: 81.19 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/1.119, allocations: 88.94 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/1.119, allocations: 105.3 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000441/1.119, allocations: 289.3 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.119, allocations: 0.5156 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/1.119, allocations: 0 / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.119, allocations: 1 kB / 1.092 GB, free: 2.957 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.0007784/1.12, allocations: 0.5424 MB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.12, allocations: 10.05 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/1.12, allocations: 25.81 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/1.12, allocations: 272.4 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/1.12, allocations: 11.17 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/1.12, allocations: 18.12 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/1.121, allocations: 218.7 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.121, allocations: 0.8125 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/1.121, allocations: 10.53 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/1.121, allocations: 3.469 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/1.122, allocations: 0.7407 MB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009971/1.123, allocations: 0.574 MB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/1.124, allocations: 231.1 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/1.124, allocations: 101.7 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.837e-05/1.124, allocations: 16.17 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/1.124, allocations: 174.2 kB / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/1.124, allocations: 0 / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.0007728/1.125, allocations: 368.6 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/1.125, allocations: 133.3 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/1.126, allocations: 310 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/1.126, allocations: 32.52 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/1.126, allocations: 126.4 kB / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/1.126, allocations: 118.3 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/1.126, allocations: 61.67 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/1.126, allocations: 337.7 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/1.126, allocations: 78.89 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/1.126, allocations: 123.9 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/1.127, allocations: 207.8 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.127, allocations: 0 / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004539/1.127, allocations: 278 kB / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.127, allocations: 5.562 kB / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.127, allocations: 0 / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.127, allocations: 6.25 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/1.128, allocations: 57.72 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.128, allocations: 2.75 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/1.128, allocations: 37.92 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/1.128, allocations: 10.62 kB / 1.097 GB, free: 15.97 MB / 0.8731 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.000188/1.128, allocations: 170 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/1.128, allocations: 25.16 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008506/1.129, allocations: 376.7 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.129, allocations: 3.281 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.129, allocations: 0.875 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.129, allocations: 5.578 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/1.129, allocations: 327.2 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.129, allocations: 48 / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/1.13, allocations: 63.11 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.13, allocations: 1.438 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/1.13, allocations: 11.05 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.13, allocations: 0.9688 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.13, allocations: 1 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/1.13, allocations: 324.3 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/1.13, allocations: 146.3 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/1.13, allocations: 6.906 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/1.131, allocations: 16.11 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/1.131, allocations: 25.31 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/1.131, allocations: 14.25 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002821/1.131, allocations: 239.3 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.563e-06/1.131, allocations: 0 / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000324/1.131, allocations: 58.12 kB / 1.099 GB, free: 14.94 MB / 0.8731 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.00109/1.132, allocations: 410.7 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004938/1.133, allocations: 221.8 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.133, allocations: 0.5938 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/1.133, allocations: 122.9 kB / 1.099 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/1.134, allocations: 36.75 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.135, allocations: 0.4978 MB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/1.135, allocations: 0.7551 MB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003703/1.135, allocations: 143.3 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/1.135, allocations: 41.36 kB / 1.101 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.135, allocations: 4 kB / 1.101 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.008692/1.144, allocations: 3.082 MB / 1.104 GB, free: 13.28 MB / 0.8731 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