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.001188/0.001188, allocations: 109 kB / 16.41 MB, free: 6.496 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.001108/0.001108, allocations: 187 kB / 17.34 MB, free: 5.762 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.17 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.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001659, allocations: 75.86 kB / 0.9516 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.148, allocations: 140.4 MB / 1.089 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003941/1.152, allocations: 1.66 MB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001796/1.154, allocations: 1.184 MB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/1.154, allocations: 0.7812 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002869/1.155, allocations: 24.64 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003345/1.155, allocations: 66.8 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/1.155, allocations: 148.5 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003973/1.156, allocations: 245.5 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/1.156, allocations: 20.47 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/1.156, allocations: 84.95 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/1.156, allocations: 97.3 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.286e-05/1.156, allocations: 17.53 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/1.157, allocations: 77.61 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/1.157, allocations: 80.34 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/1.157, allocations: 106.5 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005285/1.157, allocations: 292.4 kB / 1.093 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/1.157, allocations: 1 kB / 1.093 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/1.157, allocations: 0 / 1.093 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.256e-05/1.157, allocations: 0 / 1.093 GB, free: 3.012 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.0008834/1.158, allocations: 0.5434 MB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.158, allocations: 9.891 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/1.159, allocations: 30.06 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/1.159, allocations: 268.6 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.159, allocations: 10.34 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/1.159, allocations: 19.42 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/1.159, allocations: 218.5 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.159, allocations: 4.625 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/1.16, allocations: 10.03 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/1.16, allocations: 4.031 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/1.161, allocations: 0.7362 MB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/1.162, allocations: 0.5778 MB / 1.095 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/1.163, allocations: 231.4 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/1.163, allocations: 105.8 kB / 1.095 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/1.163, allocations: 17.02 kB / 1.095 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003928/1.163, allocations: 174 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.973e-06/1.163, allocations: 0 / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.0008955/1.164, allocations: 364.2 kB / 1.096 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/1.164, allocations: 133.5 kB / 1.096 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/1.165, allocations: 310.4 kB / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/1.165, allocations: 35.42 kB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/1.165, allocations: 131.7 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.255e-05/1.165, allocations: 109.8 kB / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/1.165, allocations: 61.09 kB / 1.097 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.165, allocations: 338.5 kB / 1.097 GB, free: 348 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/1.166, allocations: 78.16 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/1.166, allocations: 128.8 kB / 1.097 GB, free: 256 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/1.166, allocations: 207.3 kB / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.166, allocations: 0 / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005273/1.167, allocations: 272.9 kB / 1.098 GB, free: 56 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.167, allocations: 8.344 kB / 1.098 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.167, allocations: 0.5625 kB / 1.098 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.167, allocations: 2.156 kB / 1.098 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/1.167, allocations: 57.78 kB / 1.098 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.167, allocations: 1.656 kB / 1.098 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/1.167, allocations: 40.78 kB / 1.098 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/1.167, allocations: 14.06 kB / 1.098 GB, free: 20 kB / 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.0002628/1.168, allocations: 165.6 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/1.168, allocations: 25.44 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000842/1.168, allocations: 375.4 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.168, allocations: 3.906 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.168, allocations: 0.7969 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.168, allocations: 6.297 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/1.169, allocations: 326.3 kB / 1.099 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.169, allocations: 0 / 1.099 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/1.169, allocations: 55.55 kB / 1.099 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/1.169, allocations: 2.062 kB / 1.099 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/1.169, allocations: 18.45 kB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.169, allocations: 1.062 kB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.169, allocations: 1.125 kB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/1.17, allocations: 319.9 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/1.17, allocations: 151 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/1.17, allocations: 6.844 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/1.17, allocations: 14.97 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/1.17, allocations: 32.59 kB / 1.099 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/1.171, allocations: 16.23 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002818/1.171, allocations: 234.8 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.864e-06/1.171, allocations: 0 / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00034/1.171, allocations: 59.05 kB / 1.099 GB, free: 14.99 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.001059/1.172, allocations: 400.5 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005128/1.173, allocations: 218.2 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.173, allocations: 1.062 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/1.173, allocations: 130.4 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/1.173, allocations: 34.5 kB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/1.175, allocations: 0.5236 MB / 1.101 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/1.175, allocations: 0.7628 MB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/1.175, allocations: 51.95 kB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/1.175, allocations: 0 / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.01024/1.185, allocations: 4.217 MB / 1.106 GB, free: 13.16 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/jenkins1/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