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.0008233/0.0008233, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009842/0.0009842, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9112/0.9112, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.745/1.745, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 3.938 kB / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.759e-05, allocations: 2.281 kB / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002691/0.002719, allocations: 1.68 MB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.004191, allocations: 1.375 MB / 0.984 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.004269, allocations: 4 kB / 0.984 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.004514, allocations: 23.8 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004569/0.004971, allocations: 119.3 kB / 0.9841 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.005321, allocations: 156.2 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00029/0.005611, allocations: 269.4 kB / 0.9845 GB, free: 14.97 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.005735, allocations: 17.58 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.005887, allocations: 127.8 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.006051, allocations: 83.77 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.006081, allocations: 20 kB / 0.9847 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.006272, allocations: 115.9 kB / 0.9849 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.866e-05/0.006361, allocations: 95.72 kB / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.006427, allocations: 67.81 kB / 0.985 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.0068, allocations: 370.8 kB / 0.9854 GB, free: 14.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006803, allocations: 0 / 0.9854 GB, free: 14.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.006805, allocations: 0 / 0.9854 GB, free: 14.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.00681, allocations: 0 / 0.9854 GB, free: 14.09 MB / 0.948 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.0006457/0.007456, allocations: 0.494 MB / 0.9858 GB, free: 13.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.007505, allocations: 12.03 kB / 0.9859 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.91e-05/0.007564, allocations: 50.73 kB / 0.9859 GB, free: 13.49 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.007627, allocations: 32.75 kB / 0.9859 GB, free: 13.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.007855, allocations: 216.8 kB / 0.9861 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.007872, allocations: 16.64 kB / 0.9862 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.00789, allocations: 16.38 kB / 0.9862 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.008208, allocations: 323.2 kB / 0.9865 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.008218, allocations: 8.125 kB / 0.9865 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.008237, allocations: 7.938 kB / 0.9865 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.008244, allocations: 8 kB / 0.9865 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.008757, allocations: 0.6907 MB / 0.9872 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007463/0.009503, allocations: 0.531 MB / 0.9877 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.009782, allocations: 213.3 kB / 0.9879 GB, free: 11.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.009884, allocations: 93.38 kB / 0.988 GB, free: 11.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.00992, allocations: 20.2 kB / 0.988 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.01022, allocations: 204.2 kB / 0.9882 GB, free: 11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=34): time 2.334e-06/0.01023, allocations: 0 / 0.9882 GB, free: 11 MB / 0.948 GB Notification: Performance of matching and sorting (n=34): time 0.0004901/0.01072, allocations: 377.2 kB / 0.9886 GB, free: 10.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.01078, allocations: 132.5 kB / 0.9887 GB, free: 10.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.011, allocations: 317.7 kB / 0.989 GB, free: 10.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.01102, allocations: 33.7 kB / 0.989 GB, free: 10.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.01109, allocations: 128.7 kB / 0.9891 GB, free: 9.984 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.01115, allocations: 123 kB / 0.9893 GB, free: 9.863 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.01122, allocations: 73.48 kB / 0.9893 GB, free: 9.785 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.01131, allocations: 338.8 kB / 0.9897 GB, free: 9.445 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.01141, allocations: 83.95 kB / 0.9897 GB, free: 9.363 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.01156, allocations: 209.9 kB / 0.9899 GB, free: 9.129 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.0118, allocations: 217.7 kB / 0.9901 GB, free: 8.914 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0118, allocations: 0 / 0.9901 GB, free: 8.914 MB / 0.948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003029/0.0121, allocations: 281.3 kB / 0.9904 GB, free: 8.633 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01212, allocations: 8 kB / 0.9904 GB, free: 8.625 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01213, allocations: 0 / 0.9904 GB, free: 8.625 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.01214, allocations: 0 / 0.9904 GB, free: 8.625 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.01229, allocations: 59.91 kB / 0.9905 GB, free: 8.566 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.01229, allocations: 0 / 0.9905 GB, free: 8.566 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-05/0.01238, allocations: 31.83 kB / 0.9905 GB, free: 8.535 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.0124, allocations: 12 kB / 0.9905 GB, free: 8.523 MB / 0.948 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.0001148/0.01251, allocations: 173.7 kB / 0.9907 GB, free: 8.344 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.01254, allocations: 27.81 kB / 0.9907 GB, free: 8.316 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.01297, allocations: 382 kB / 0.9911 GB, free: 7.938 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.01297, allocations: 7.984 kB / 0.9911 GB, free: 7.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01298, allocations: 0 / 0.9911 GB, free: 7.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01298, allocations: 0 / 0.9911 GB, free: 7.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.01318, allocations: 280.4 kB / 0.9914 GB, free: 7.613 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01319, allocations: 4 kB / 0.9914 GB, free: 7.609 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.992e-05/0.01329, allocations: 55.91 kB / 0.9914 GB, free: 7.555 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.01329, allocations: 0 / 0.9914 GB, free: 7.555 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.01331, allocations: 8 kB / 0.9914 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01331, allocations: 0 / 0.9914 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01331, allocations: 0 / 0.9914 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.01369, allocations: 342.2 kB / 0.9917 GB, free: 7.195 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/0.01378, allocations: 67.67 kB / 0.9918 GB, free: 7.129 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.01381, allocations: 8 kB / 0.9918 GB, free: 7.121 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01391, allocations: 15.98 kB / 0.9918 GB, free: 7.105 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.01395, allocations: 23.95 kB / 0.9919 GB, free: 7.082 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.01397, allocations: 15.98 kB / 0.9919 GB, free: 7.066 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001491/0.01412, allocations: 249.1 kB / 0.9921 GB, free: 6.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01412, allocations: 0 / 0.9921 GB, free: 6.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002442/0.01436, allocations: 79.81 kB / 0.9922 GB, free: 6.742 MB / 0.948 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.001278/0.01564, allocations: 1.234 MB / 0.9934 GB, free: 5.664 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.01594, allocations: 224.3 kB / 0.9936 GB, free: 5.445 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01594, allocations: 0 / 0.9936 GB, free: 5.445 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.01606, allocations: 123.8 kB / 0.9937 GB, free: 5.324 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.01626, allocations: 40.72 kB / 0.9938 GB, free: 5.289 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.01832, allocations: 2.533 MB / 0.9962 GB, free: 2.668 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.01842, allocations: 150.9 kB / 0.9964 GB, free: 2.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.01862, allocations: 154.9 kB / 0.9965 GB, free: 2.352 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.01872, allocations: 92.45 kB / 0.9966 GB, free: 2.262 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/0.01872, allocations: 0 / 0.9966 GB, free: 2.262 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.03943, allocations: 6.852 MB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/6.829, allocations: 10.44 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.936869911849499]