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.001283/0.001283, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001411/0.001411, allocations: 221.3 kB / 22.25 MB, free: 5.105 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.82 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.223/3.223, allocations: 0.49 GB / 0.7951 GB, free: 35.28 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",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.001964/0.001964, allocations: 65.03 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3769, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003598/0.3805, allocations: 1.68 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.3828, allocations: 1.364 MB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.3828, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.3831, allocations: 31.78 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.3835, allocations: 119.5 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.3839, allocations: 150.5 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.3842, allocations: 261.5 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3843, allocations: 17.58 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3844, allocations: 91.75 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.3847, allocations: 99.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.3847, allocations: 16 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.3849, allocations: 127.9 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.385, allocations: 87.67 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3852, allocations: 87.52 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.3856, allocations: 334.7 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3856, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3856, allocations: 4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3856, allocations: 0 / 1.33 GB, free: 13 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.0009201/0.3866, allocations: 0.491 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3866, allocations: 11.97 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.797e-05/0.3867, allocations: 50.73 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.3868, allocations: 32.75 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3871, allocations: 221 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3871, allocations: 12.38 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.3871, allocations: 12.38 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.3876, allocations: 331.8 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3876, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.3876, allocations: 12 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.3876, allocations: 7.938 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008752/0.3885, allocations: 0.6826 MB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009601/0.3895, allocations: 0.5265 MB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.3899, allocations: 212 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.39, allocations: 92.81 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.3901, allocations: 11.98 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004166/0.3905, allocations: 203.2 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.3905, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007579/0.3913, allocations: 366.6 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/0.3913, allocations: 136.5 kB / 1.333 GB, free: 9.402 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.3917, allocations: 320.9 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3917, allocations: 29.7 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.3918, allocations: 132.7 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3919, allocations: 111 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.392, allocations: 69.64 kB / 1.334 GB, free: 8.723 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3922, allocations: 338.8 kB / 1.334 GB, free: 8.383 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3923, allocations: 75.95 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.3925, allocations: 204.4 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.3929, allocations: 210.3 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3929, allocations: 0 / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004321/0.3933, allocations: 269.4 kB / 1.335 GB, free: 7.602 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3933, allocations: 4 kB / 1.335 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3933, allocations: 4 kB / 1.335 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3933, allocations: 4 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.3935, allocations: 55.91 kB / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3936, allocations: 7.938 kB / 1.335 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.3937, allocations: 39.7 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.3937, allocations: 12 kB / 1.335 GB, free: 7.477 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.0001658/0.3939, allocations: 165.7 kB / 1.335 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.394, allocations: 23.86 kB / 1.335 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007155/0.3947, allocations: 384.8 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3947, allocations: 4 kB / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3947, allocations: 3.938 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3947, allocations: 0 / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.395, allocations: 276.5 kB / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.395, allocations: 0 / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.3952, allocations: 59.91 kB / 1.336 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3952, allocations: 0 / 1.336 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3952, allocations: 8 kB / 1.336 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3952, allocations: 3.984 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3952, allocations: 11.88 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.3957, allocations: 309.8 kB / 1.336 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3958, allocations: 67.73 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.3959, allocations: 4.047 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.396, allocations: 23.97 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.3961, allocations: 31.89 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.3961, allocations: 15.98 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002278/0.3964, allocations: 240.4 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3964, allocations: 0 / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003185/0.3967, allocations: 75.86 kB / 1.337 GB, free: 5.73 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.002338/0.399, allocations: 1.243 MB / 1.338 GB, free: 4.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.3994, allocations: 211.8 kB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3994, allocations: 0 / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.3996, allocations: 115.8 kB / 1.338 GB, free: 4.336 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.3999, allocations: 45.52 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.4032, allocations: 2.488 MB / 1.341 GB, free: 1.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.4033, allocations: 150.9 kB / 1.341 GB, free: 1.547 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.4037, allocations: 150.8 kB / 1.341 GB, free: 1.398 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.4039, allocations: 87.39 kB / 1.341 GB, free: 1.312 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/0.4039, allocations: 0 / 1.341 GB, free: 1.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.4411, allocations: 6.733 MB / 1.348 GB, free: 10.64 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.59, allocations: 14.34 kB / 1.348 GB, free: 10.63 MB / 1.045 GB " [Timeout remaining time 288] (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.40117618799559]