Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001555/0.001555, allocations: 107.3 kB / 16.41 MB, free: 6.488 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.0017/0.0017, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.464/2.464, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.7949, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00309/0.798, allocations: 1.665 MB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.7997, allocations: 1.168 MB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.7998, allocations: 4 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.8001, allocations: 27.78 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.8004, allocations: 77.23 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.8008, allocations: 142.2 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.8011, allocations: 245.5 kB / 1.171 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.8012, allocations: 23.98 kB / 1.171 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.8014, allocations: 83.77 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.8016, allocations: 91.77 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.8016, allocations: 16 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.8018, allocations: 83.95 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.8019, allocations: 83.75 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.802, allocations: 107.3 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.8024, allocations: 298.7 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8024, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8025, allocations: 4 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.8025, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 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.0007785/0.8033, allocations: 0.5286 MB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.8033, allocations: 12.02 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.486e-05/0.8034, allocations: 28.66 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.8037, allocations: 264.8 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.8037, allocations: 12.38 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.8038, allocations: 12.38 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.8041, allocations: 226.2 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.8042, allocations: 4 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.8042, allocations: 7.984 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.8042, allocations: 7.938 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008158/0.805, allocations: 0.7373 MB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009156/0.8059, allocations: 0.5744 MB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.8063, allocations: 227.4 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.8065, allocations: 100.8 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.8065, allocations: 23.95 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.8069, allocations: 170.1 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/0.8069, allocations: 0 / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.0006592/0.8075, allocations: 366.7 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.8076, allocations: 132.5 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.8079, allocations: 316.9 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.808, allocations: 29.7 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.808, allocations: 132.7 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/0.8081, allocations: 102.5 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-05/0.8082, allocations: 65.69 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8084, allocations: 334.8 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.8085, allocations: 83.95 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.8087, allocations: 119.4 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.809, allocations: 214.3 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.809, allocations: 0 / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004327/0.8094, allocations: 265.2 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.8095, allocations: 8 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.8095, allocations: 0 / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.8095, allocations: 0 / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.8097, allocations: 67.91 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.8097, allocations: 7.922 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.8099, allocations: 35.61 kB / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.8099, allocations: 15.98 kB / 1.176 GB, free: 10.31 MB / 0.9044 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.0001592/0.8101, allocations: 157.8 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.8101, allocations: 23.72 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006378/0.8108, allocations: 381 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.8108, allocations: 8.031 kB / 1.177 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8108, allocations: 0 / 1.177 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8108, allocations: 7.938 kB / 1.177 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.8111, allocations: 329.3 kB / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.8111, allocations: 0 / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.8113, allocations: 63.84 kB / 1.177 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.8113, allocations: 4 kB / 1.177 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.8114, allocations: 8 kB / 1.177 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.8114, allocations: 0 / 1.177 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.8114, allocations: 0 / 1.177 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.8118, allocations: 321.6 kB / 1.178 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.812, allocations: 144.7 kB / 1.178 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.812, allocations: 8 kB / 1.178 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.8122, allocations: 18.8 kB / 1.178 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.8123, allocations: 27.91 kB / 1.178 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.8123, allocations: 15.98 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001981/0.8125, allocations: 232.4 kB / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8125, allocations: 0 / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002922/0.8128, allocations: 64 kB / 1.178 GB, free: 8.434 MB / 0.9044 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.0009175/0.8137, allocations: 406.1 kB / 1.178 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.8141, allocations: 224.3 kB / 1.179 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8142, allocations: 3.938 kB / 1.179 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.8144, allocations: 128.4 kB / 1.179 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.8147, allocations: 33.78 kB / 1.179 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008725/0.8155, allocations: 0.5308 MB / 1.179 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.8159, allocations: 0.7535 MB / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.816, allocations: 55.41 kB / 1.18 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.816, allocations: 0 / 1.18 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of Templates: time 0.007024/0.823, allocations: 4.227 MB / 1.184 GB, free: 2.188 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches