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.0009665/0.0009665, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 184.1 kB / 16.92 MB, free: 6.922 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.771/2.771, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003746, allocations: 11.72 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3109, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002267/0.3132, allocations: 1.381 MB / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3152, allocations: 1.121 MB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.3153, allocations: 3.938 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.3155, allocations: 23.91 kB / 1.062 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.3158, allocations: 59.77 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.3162, allocations: 138.6 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.3165, allocations: 225.5 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3166, allocations: 15.98 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.3168, allocations: 75.83 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.317, allocations: 87.7 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.317, allocations: 11.94 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3172, allocations: 67.92 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3173, allocations: 75.78 kB / 1.063 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.3175, allocations: 125 kB / 1.063 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.3177, allocations: 199.9 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3178, allocations: 0 / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3178, allocations: 0 / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.3178, allocations: 0 / 1.063 GB, free: 1.367 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.0008074/0.3186, allocations: 499.5 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3186, allocations: 11.97 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/0.3187, allocations: 28.66 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.3191, allocations: 276.5 kB / 1.064 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3191, allocations: 12.38 kB / 1.064 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.3191, allocations: 12.38 kB / 1.064 GB, free: 464 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.3195, allocations: 228.8 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3195, allocations: 4 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.3196, allocations: 4 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3196, allocations: 4 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.3205, allocations: 0.7374 MB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.3214, allocations: 0.5858 MB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.3218, allocations: 223.5 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3219, allocations: 96.81 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.322, allocations: 19.97 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/0.3223, allocations: 177.5 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.3223, allocations: 0 / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.0006681/0.323, allocations: 359.7 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.3231, allocations: 132.5 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.3234, allocations: 312.9 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.3235, allocations: 33.7 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.3235, allocations: 128.7 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/0.3236, allocations: 106.4 kB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.3237, allocations: 33.7 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3238, allocations: 334.8 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.324, allocations: 83.95 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.3242, allocations: 127.5 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.3245, allocations: 200.7 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3245, allocations: 0 / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004258/0.3249, allocations: 277.8 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3249, allocations: 4 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.325, allocations: 0 / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.325, allocations: 7.938 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.3252, allocations: 63.84 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3252, allocations: 8 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3254, allocations: 31.7 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.3254, allocations: 8 kB / 1.068 GB, free: 12 MB / 0.8262 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.0001633/0.3256, allocations: 161.8 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.3257, allocations: 31.61 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006645/0.3263, allocations: 372.8 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3263, allocations: 4 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3264, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.3264, allocations: 11.92 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.3267, allocations: 329.2 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3267, allocations: 0 / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.3269, allocations: 55.92 kB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3269, allocations: 4 kB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.3269, allocations: 11.98 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3269, allocations: 4 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3269, allocations: 4 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.3274, allocations: 318.2 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.3275, allocations: 148.6 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.3276, allocations: 4 kB / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3277, allocations: 19.98 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.3278, allocations: 27.91 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.3278, allocations: 16.03 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002072/0.3281, allocations: 236.4 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3281, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003115/0.3284, allocations: 63.94 kB / 1.07 GB, free: 10.11 MB / 0.8262 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.0009546/0.3293, allocations: 408.5 kB / 1.07 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.3297, allocations: 219.8 kB / 1.07 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3298, allocations: 0 / 1.07 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.33, allocations: 131.8 kB / 1.07 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3303, allocations: 32.66 kB / 1.07 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009048/0.3312, allocations: 0.6115 MB / 1.071 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3315, allocations: 0.7574 MB / 1.072 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3316, allocations: 47.42 kB / 1.072 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of SimCode: time 2.033e-06/0.3316, allocations: 0 / 1.072 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of Templates: time 0.007447/0.3391, allocations: 4.165 MB / 1.076 GB, free: 3.844 MB / 0.8262 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 -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