Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 220.4 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.084/3.084, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 70.05 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3279, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003568/0.3315, allocations: 1.669 MB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3337, allocations: 1.371 MB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.3338, allocations: 4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.334, allocations: 23.78 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.3344, allocations: 111.5 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.3348, allocations: 147.2 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.3352, allocations: 265.5 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3353, allocations: 17.58 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3354, allocations: 91.81 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3356, allocations: 101.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.3357, allocations: 19.94 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.336, allocations: 123.9 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.3361, allocations: 83.73 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.3363, allocations: 95.45 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.3367, allocations: 330.7 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3367, allocations: 4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3367, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3368, allocations: 4 kB / 1.331 GB, free: 13.03 MB / 1.029 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.0008683/0.3376, allocations: 0.4937 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3377, allocations: 8.031 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.659e-05/0.3377, allocations: 4.188 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.3377, allocations: 50.73 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.3378, allocations: 32.75 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3381, allocations: 221.1 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.3382, allocations: 12.38 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.3382, allocations: 16.12 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.3387, allocations: 327.9 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3387, allocations: 4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.3387, allocations: 8 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3387, allocations: 4 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3397, allocations: 0.7334 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009552/0.3407, allocations: 0.5381 MB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.341, allocations: 208 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3412, allocations: 92.81 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.3413, allocations: 11.98 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/0.3417, allocations: 199.2 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.3417, allocations: 0 / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0008046/0.3425, allocations: 370.6 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.3426, allocations: 140.4 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.343, allocations: 316.9 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.343, allocations: 29.7 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.3431, allocations: 128.7 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.3432, allocations: 115 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3433, allocations: 65.64 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3435, allocations: 338.8 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3436, allocations: 79.95 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.3439, allocations: 200.5 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.3442, allocations: 214.3 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3442, allocations: 3.938 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004731/0.3447, allocations: 273.3 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3447, allocations: 4 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3447, allocations: 4 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3447, allocations: 0 / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3449, allocations: 63.91 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.345, allocations: 3.938 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.3451, allocations: 34.02 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3451, allocations: 12 kB / 1.336 GB, free: 7.453 MB / 1.029 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.0001939/0.3453, allocations: 165.7 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.3454, allocations: 23.86 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008613/0.3462, allocations: 384.9 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3463, allocations: 4 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.3463, allocations: 7.875 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3463, allocations: 4 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.3466, allocations: 272.5 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3466, allocations: 0 / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.3468, allocations: 51.97 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3468, allocations: 0 / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.3468, allocations: 8 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3468, allocations: 11.98 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3469, allocations: 7.875 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.3474, allocations: 313.8 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.3475, allocations: 67.73 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.3476, allocations: 4 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.3477, allocations: 15.98 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.3478, allocations: 27.89 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.3478, allocations: 15.98 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002618/0.3481, allocations: 244.4 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3481, allocations: 0 / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003491/0.3484, allocations: 83.86 kB / 1.338 GB, free: 5.699 MB / 1.029 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.002498/0.3509, allocations: 1.233 MB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.3514, allocations: 215.7 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3514, allocations: 0 / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.3516, allocations: 115.9 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.3518, allocations: 46.05 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.3551, allocations: 2.488 MB / 1.342 GB, free: 1.684 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.3553, allocations: 154.8 kB / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003258/0.3556, allocations: 146.8 kB / 1.342 GB, free: 1.371 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.3559, allocations: 99.39 kB / 1.342 GB, free: 1.273 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3559, allocations: 0 / 1.342 GB, free: 1.273 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04639/0.4022, allocations: 6.374 MB / 1.348 GB, free: 11 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.27, allocations: 10.11 kB / 1.348 GB, free: 10.99 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.904922608984634]