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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 105.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.11/3.11, allocations: 497.2 MB / 0.7811 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 62.97 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3219, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003165/0.325, allocations: 1.654 MB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3269, allocations: 1.191 MB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.327, allocations: 4 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.3272, allocations: 27.8 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.3275, allocations: 67.69 kB / 1.307 GB, free: 14.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.3279, allocations: 143.4 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.3282, allocations: 253.5 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.3283, allocations: 11.94 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3284, allocations: 83.81 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.3286, allocations: 99.7 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.3287, allocations: 16 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.3288, allocations: 79.95 kB / 1.308 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3289, allocations: 87.75 kB / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3291, allocations: 103.4 kB / 1.308 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.3294, allocations: 298.7 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3294, allocations: 0 / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3294, allocations: 0 / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3294, allocations: 0 / 1.308 GB, free: 13.45 MB / 1.014 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.0008244/0.3303, allocations: 0.5419 MB / 1.309 GB, free: 12.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3303, allocations: 8.625 kB / 1.309 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.323e-05/0.3304, allocations: 54.67 kB / 1.309 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.3304, allocations: 28.8 kB / 1.309 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.3308, allocations: 269 kB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3308, allocations: 12.38 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.3308, allocations: 12.38 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.3312, allocations: 225 kB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3312, allocations: 0 / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.3312, allocations: 4 kB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3312, allocations: 4 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.3322, allocations: 0.749 MB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009603/0.3331, allocations: 0.5781 MB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.3335, allocations: 215.9 kB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.3336, allocations: 88.81 kB / 1.311 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.3337, allocations: 23.91 kB / 1.311 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003661/0.3341, allocations: 177.5 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.422e-06/0.3341, allocations: 0 / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.0006893/0.3347, allocations: 367.8 kB / 1.311 GB, free: 9.922 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.3348, allocations: 132.5 kB / 1.311 GB, free: 9.762 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.3352, allocations: 312.9 kB / 1.312 GB, free: 9.449 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.3352, allocations: 33.64 kB / 1.312 GB, free: 9.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.3353, allocations: 120.7 kB / 1.312 GB, free: 9.285 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.3354, allocations: 123 kB / 1.312 GB, free: 9.164 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.3355, allocations: 65.69 kB / 1.312 GB, free: 9.094 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3357, allocations: 338.8 kB / 1.312 GB, free: 8.754 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3358, allocations: 75.95 kB / 1.312 GB, free: 8.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.336, allocations: 123.3 kB / 1.312 GB, free: 8.547 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.3363, allocations: 205.6 kB / 1.313 GB, free: 8.344 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3363, allocations: 0 / 1.313 GB, free: 8.344 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004624/0.3368, allocations: 281.3 kB / 1.313 GB, free: 8.062 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3368, allocations: 7.938 kB / 1.313 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3368, allocations: 4 kB / 1.313 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3368, allocations: 0 / 1.313 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.337, allocations: 59.97 kB / 1.313 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.337, allocations: 3.938 kB / 1.313 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3372, allocations: 27.81 kB / 1.313 GB, free: 7.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.3372, allocations: 11.94 kB / 1.313 GB, free: 7.949 MB / 1.014 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.000178/0.3374, allocations: 165.8 kB / 1.313 GB, free: 7.777 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.3374, allocations: 27.81 kB / 1.313 GB, free: 7.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006913/0.3381, allocations: 376.7 kB / 1.314 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.3381, allocations: 4 kB / 1.314 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3381, allocations: 3.938 kB / 1.314 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3381, allocations: 0 / 1.314 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.3385, allocations: 329.3 kB / 1.314 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3385, allocations: 0 / 1.314 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.3387, allocations: 59.91 kB / 1.314 GB, free: 6.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3387, allocations: 0 / 1.314 GB, free: 6.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.3387, allocations: 12 kB / 1.314 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3387, allocations: 7.938 kB / 1.314 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3387, allocations: 3.938 kB / 1.314 GB, free: 6.906 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.3392, allocations: 322.4 kB / 1.314 GB, free: 6.574 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.3394, allocations: 140.8 kB / 1.314 GB, free: 6.418 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.3394, allocations: 8 kB / 1.314 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.3395, allocations: 18.52 kB / 1.314 GB, free: 6.395 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.3396, allocations: 35.88 kB / 1.315 GB, free: 6.359 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.3396, allocations: 11.98 kB / 1.315 GB, free: 6.348 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002194/0.3399, allocations: 240.4 kB / 1.315 GB, free: 6.117 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3399, allocations: 0 / 1.315 GB, free: 6.117 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002819/0.3401, allocations: 63.89 kB / 1.315 GB, free: 6.055 MB / 1.014 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.002076/0.3422, allocations: 1.131 MB / 1.316 GB, free: 5.055 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.3426, allocations: 220.3 kB / 1.316 GB, free: 4.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3426, allocations: 4 kB / 1.316 GB, free: 4.836 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.3428, allocations: 115.8 kB / 1.316 GB, free: 4.723 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3431, allocations: 46.25 kB / 1.316 GB, free: 4.676 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.3463, allocations: 2.45 MB / 1.319 GB, free: 2.152 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.3467, allocations: 0.7618 MB / 1.319 GB, free: 1.367 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004009/0.3471, allocations: 146.9 kB / 1.32 GB, free: 1.223 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3472, allocations: 91.39 kB / 1.32 GB, free: 1.133 MB / 1.014 GB Notification: Performance of SimCode: time 7.61e-07/0.3472, allocations: 0 / 1.32 GB, free: 1.133 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.3793, allocations: 5.571 MB / 1.325 GB, free: 11.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.818, allocations: 7.891 kB / 1.325 GB, free: 11.65 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.246147189289331]