Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008089/0.0008089, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.0008284/0.0008284, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9531/0.9531, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.836/1.836, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.954e-05, allocations: 2.281 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002332/0.002351, allocations: 1.674 MB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.003871, allocations: 1.371 MB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.003933, allocations: 4 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.004152, allocations: 23.73 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.004485, allocations: 115.3 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.004757, allocations: 160.7 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.005004, allocations: 265.4 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.00511, allocations: 13.59 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.005232, allocations: 127.8 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.005371, allocations: 87.75 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.005399, allocations: 20 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.00555, allocations: 119.8 kB / 1.005 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.005635, allocations: 91.73 kB / 1.005 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.005704, allocations: 71.81 kB / 1.005 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.006147, allocations: 362.8 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006151, allocations: 4 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.342e-06/0.006152, allocations: 0 / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.006157, allocations: 0 / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006199/0.006777, allocations: 0.494 MB / 1.006 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.006818, allocations: 13.34 kB / 1.006 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.454e-05/0.006863, allocations: 46.73 kB / 1.006 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.006924, allocations: 40.69 kB / 1.006 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.007163, allocations: 216.8 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.007183, allocations: 12.7 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.007201, allocations: 12.38 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.007502, allocations: 331.3 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.007512, allocations: 192 / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.007531, allocations: 7.938 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.007537, allocations: 4 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.008067, allocations: 0.6906 MB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.008771, allocations: 0.5387 MB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.00906, allocations: 216.8 kB / 1.008 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.009168, allocations: 93.38 kB / 1.008 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.009201, allocations: 24.14 kB / 1.008 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.009487, allocations: 203.2 kB / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=34): time 2.434e-06/0.009489, allocations: 3.984 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=34): time 0.0004761/0.009965, allocations: 363.3 kB / 1.008 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.01003, allocations: 136.5 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.01045, allocations: 313.7 kB / 1.009 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.01048, allocations: 41.64 kB / 1.009 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.01055, allocations: 132.7 kB / 1.009 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.01062, allocations: 123 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.01069, allocations: 61.69 kB / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.01079, allocations: 346.8 kB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.01091, allocations: 87.81 kB / 1.009 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.01107, allocations: 206 kB / 1.01 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.01131, allocations: 213.8 kB / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01131, allocations: 0 / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003014/0.01161, allocations: 281.1 kB / 1.01 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01163, allocations: 11.98 kB / 1.01 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01163, allocations: 3.938 kB / 1.01 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.01165, allocations: 0 / 1.01 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.01179, allocations: 59.97 kB / 1.01 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.0118, allocations: 3.984 kB / 1.01 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.739e-05/0.01189, allocations: 31.81 kB / 1.01 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.0119, allocations: 16 kB / 1.01 GB, free: 3.453 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (36): * Single equations (assignments): 36 * 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.0001176/0.01202, allocations: 161.8 kB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.01206, allocations: 27.81 kB / 1.01 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.01247, allocations: 385 kB / 1.011 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01248, allocations: 4 kB / 1.011 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01248, allocations: 0 / 1.011 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01249, allocations: 3.984 kB / 1.011 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.01269, allocations: 280.4 kB / 1.011 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01269, allocations: 0 / 1.011 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.01279, allocations: 59.91 kB / 1.011 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.0128, allocations: 0 / 1.011 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.01281, allocations: 12 kB / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01282, allocations: 0 / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01282, allocations: 0 / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.01312, allocations: 326 kB / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.01321, allocations: 67.69 kB / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.01324, allocations: 12 kB / 1.012 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.01331, allocations: 19.98 kB / 1.012 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.01336, allocations: 23.89 kB / 1.012 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.01337, allocations: 19.98 kB / 1.012 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001438/0.01352, allocations: 245.2 kB / 1.012 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01352, allocations: 4 kB / 1.012 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002267/0.01374, allocations: 75.81 kB / 1.012 GB, free: 1.688 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001299/0.01504, allocations: 1.241 MB / 1.013 GB, free: 0.6094 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.01533, allocations: 223.9 kB / 1.013 GB, free: 400 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01533, allocations: 4 kB / 1.013 GB, free: 396 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.01546, allocations: 115.8 kB / 1.013 GB, free: 280 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.01565, allocations: 34 kB / 1.013 GB, free: 248 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.01813, allocations: 2.525 MB / 1.016 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.305e-05/0.01823, allocations: 154.9 kB / 1.016 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000201/0.01843, allocations: 154.9 kB / 1.016 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.01854, allocations: 92.45 kB / 1.016 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of SimCode: time 9.31e-07/0.01854, allocations: 0 / 1.016 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09142/0.11, allocations: 6.848 MB / 1.023 GB, free: 6.445 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/7.766, allocations: 4.562 kB / 1.023 GB, free: 6.441 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_fmpy.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_fmpy_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.506006027571857]