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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001415/0.001415, allocations: 106 kB / 16.27 MB, free: 6.402 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.001493/0.001493, allocations: 190.8 kB / 17.2 MB, free: 5.938 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 469.4 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 62.31 kB / 0.9088 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3285, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003847/0.3324, allocations: 1.653 MB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3345, allocations: 1.175 MB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.3346, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.3349, allocations: 27.78 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.3353, allocations: 69.81 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.3359, allocations: 141.4 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.3362, allocations: 249.5 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3364, allocations: 15.98 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.3365, allocations: 79.83 kB / 1.068 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.3368, allocations: 107.6 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.3369, allocations: 16 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.3371, allocations: 75.97 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3372, allocations: 75.81 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.3374, allocations: 115.3 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.3378, allocations: 283.4 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3378, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.547e-06/0.3378, allocations: 3.984 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.3378, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 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.0009338/0.3388, allocations: 0.5383 MB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3388, allocations: 8.625 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.593e-05/0.3389, allocations: 32.64 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.3393, allocations: 264.8 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3393, allocations: 12.38 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.3393, allocations: 12.38 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.3397, allocations: 218.4 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3398, allocations: 8 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.3398, allocations: 4 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3398, allocations: 4 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008566/0.3407, allocations: 0.7411 MB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009795/0.3417, allocations: 0.5742 MB / 1.071 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.3421, allocations: 232.7 kB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3422, allocations: 108.7 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.3423, allocations: 23.95 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004014/0.3427, allocations: 177.5 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/0.3427, allocations: 0 / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.0006854/0.3434, allocations: 354.8 kB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.3435, allocations: 140.5 kB / 1.072 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.3438, allocations: 312.9 kB / 1.072 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3439, allocations: 33.7 kB / 1.072 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.344, allocations: 128.7 kB / 1.072 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/0.3441, allocations: 102.4 kB / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3442, allocations: 65.69 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3443, allocations: 334.8 kB / 1.072 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.3445, allocations: 83.95 kB / 1.073 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.3447, allocations: 124.5 kB / 1.073 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.345, allocations: 213.2 kB / 1.073 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.345, allocations: 0 / 1.073 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004501/0.3455, allocations: 269.2 kB / 1.073 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3455, allocations: 6.031 kB / 1.073 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3455, allocations: 0 / 1.073 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3455, allocations: 3.938 kB / 1.073 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.3458, allocations: 59.97 kB / 1.073 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3458, allocations: 3.938 kB / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3459, allocations: 35.67 kB / 1.073 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.346, allocations: 12 kB / 1.073 GB, free: 5.527 MB / 0.8419 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.0001888/0.3462, allocations: 161.8 kB / 1.073 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.3462, allocations: 23.72 kB / 1.073 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.3469, allocations: 384.9 kB / 1.074 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3469, allocations: 4 kB / 1.074 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.347, allocations: 4 kB / 1.074 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.347, allocations: 3.938 kB / 1.074 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.3473, allocations: 325.3 kB / 1.074 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.3473, allocations: 0 / 1.074 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.3475, allocations: 59.91 kB / 1.074 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.3475, allocations: 4 kB / 1.074 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.3475, allocations: 8 kB / 1.074 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3475, allocations: 0 / 1.074 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.3476, allocations: 4 kB / 1.074 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.348, allocations: 317.7 kB / 1.074 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3482, allocations: 148.6 kB / 1.075 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.3482, allocations: 4 kB / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.3484, allocations: 19.92 kB / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.3485, allocations: 31.84 kB / 1.075 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.3485, allocations: 15.98 kB / 1.075 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002141/0.3487, allocations: 232.4 kB / 1.075 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3487, allocations: 8 kB / 1.075 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003058/0.349, allocations: 63.94 kB / 1.075 GB, free: 3.641 MB / 0.8419 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.0009777/0.35, allocations: 401.6 kB / 1.075 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005434/0.3506, allocations: 292.3 kB / 1.076 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3506, allocations: 4 kB / 1.076 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.3508, allocations: 127.8 kB / 1.076 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.3511, allocations: 33.97 kB / 1.076 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009282/0.352, allocations: 0.5304 MB / 1.076 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3524, allocations: 0.7579 MB / 1.077 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3525, allocations: 47.42 kB / 1.077 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.3525, allocations: 3.938 kB / 1.077 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of Templates: time 0.4526/0.8052, allocations: 4.178 MB / 1.081 GB, free: 21.61 MB / 0.8419 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