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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001564/0.001564, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001712/0.001712, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 66.28 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2742, allocations: 153 MB / 1.027 GB, free: 2 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00299/0.2772, allocations: 1.661 MB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.2789, allocations: 1.179 MB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.279, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.2792, allocations: 23.83 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.2795, allocations: 63.64 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.2799, allocations: 155 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.2802, allocations: 249.5 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2803, allocations: 19.98 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.2804, allocations: 87.81 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2806, allocations: 98.36 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.2807, allocations: 16 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.2808, allocations: 75.92 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.561e-05/0.2809, allocations: 79.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.281, allocations: 111.3 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.2814, allocations: 302.9 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2814, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2814, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.2814, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 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.0008297/0.2822, allocations: 0.5383 MB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2823, allocations: 8.031 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.2824, allocations: 28.66 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.2827, allocations: 272.8 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2827, allocations: 8.375 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.2827, allocations: 20.38 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.2831, allocations: 220.8 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2831, allocations: 0 / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.2831, allocations: 8 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2831, allocations: 4 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008379/0.284, allocations: 0.7373 MB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009352/0.2849, allocations: 0.5819 MB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.2853, allocations: 224 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.2854, allocations: 97.61 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.2855, allocations: 23.95 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/0.2858, allocations: 174 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.2859, allocations: 4 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.0006418/0.2865, allocations: 366.8 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.2866, allocations: 136.5 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.2869, allocations: 308.9 kB / 1.034 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.2869, allocations: 29.7 kB / 1.034 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.287, allocations: 124.7 kB / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-05/0.2871, allocations: 106.4 kB / 1.035 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.2872, allocations: 65.69 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2873, allocations: 338.8 kB / 1.035 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2875, allocations: 75.95 kB / 1.035 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.2877, allocations: 128.4 kB / 1.035 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.288, allocations: 209.2 kB / 1.035 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.288, allocations: 0 / 1.035 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003919/0.2884, allocations: 269.3 kB / 1.036 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2884, allocations: 4 kB / 1.036 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2884, allocations: 3.938 kB / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2884, allocations: 8 kB / 1.036 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2886, allocations: 59.89 kB / 1.036 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2886, allocations: 4 kB / 1.036 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2888, allocations: 30.53 kB / 1.036 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.2888, allocations: 15.98 kB / 1.036 GB, free: 8.453 MB / 0.8106 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.0001358/0.2889, allocations: 161.7 kB / 1.036 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.289, allocations: 27.62 kB / 1.036 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.2896, allocations: 380.9 kB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2896, allocations: 4 kB / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2896, allocations: 0 / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2897, allocations: 11.92 kB / 1.036 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.29, allocations: 333.3 kB / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.29, allocations: 0 / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.2901, allocations: 51.97 kB / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2901, allocations: 0 / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.2902, allocations: 11.98 kB / 1.037 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2902, allocations: 7.938 kB / 1.037 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2902, allocations: 0 / 1.037 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.2906, allocations: 317.8 kB / 1.037 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.2907, allocations: 136.7 kB / 1.037 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.2908, allocations: 11.98 kB / 1.037 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2909, allocations: 15.98 kB / 1.037 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.291, allocations: 27.91 kB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.2911, allocations: 12 kB / 1.037 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000195/0.2913, allocations: 232.4 kB / 1.037 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2913, allocations: 0 / 1.037 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002953/0.2916, allocations: 63.84 kB / 1.037 GB, free: 6.586 MB / 0.8106 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.0008763/0.2924, allocations: 408.1 kB / 1.038 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.2928, allocations: 220.3 kB / 1.038 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2928, allocations: 4 kB / 1.038 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.293, allocations: 132.3 kB / 1.038 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.2933, allocations: 40.33 kB / 1.038 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/0.294, allocations: 0.4941 MB / 1.039 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.2943, allocations: 0.7579 MB / 1.039 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.2946, allocations: 142.9 kB / 1.04 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.2947, allocations: 39.42 kB / 1.04 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2947, allocations: 4 kB / 1.04 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of Templates: time 0.006115/0.3008, allocations: 3.027 MB / 1.043 GB, free: 1.453 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches