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.001782/0.001782, allocations: 111.4 kB / 16.41 MB, free: 6.492 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.002017/0.002017, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.376/1.376, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.017/3.017, allocations: 489 MB / 0.7678 GB, free: 29.14 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.002043/0.002043, allocations: 71.89 kB / 1.101 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8129/0.815, allocations: 163.8 MB / 1.261 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003046/0.8181, allocations: 1.658 MB / 1.263 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.8198, allocations: 1.171 MB / 1.264 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.8199, allocations: 0 / 1.264 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.8201, allocations: 31.83 kB / 1.264 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.8204, allocations: 67.62 kB / 1.264 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.8208, allocations: 151.1 kB / 1.264 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.8211, allocations: 245.5 kB / 1.264 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.8212, allocations: 19.98 kB / 1.264 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.8213, allocations: 83.81 kB / 1.264 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.8216, allocations: 99.7 kB / 1.264 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.8216, allocations: 16 kB / 1.264 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.8218, allocations: 79.91 kB / 1.265 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.8219, allocations: 83.8 kB / 1.265 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.822, allocations: 103.4 kB / 1.265 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.8224, allocations: 289.4 kB / 1.265 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.8224, allocations: 4 kB / 1.265 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8224, allocations: 0 / 1.265 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.8225, allocations: 0 / 1.265 GB, free: 3.09 MB / 0.9669 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.0008059/0.8233, allocations: 0.5458 MB / 1.266 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.8233, allocations: 12.03 kB / 1.266 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/0.8234, allocations: 46.73 kB / 1.266 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.8234, allocations: 28.75 kB / 1.266 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.8238, allocations: 280.7 kB / 1.266 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.8238, allocations: 12.31 kB / 1.266 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.8238, allocations: 16.38 kB / 1.266 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.8242, allocations: 224.6 kB / 1.266 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.8242, allocations: 0 / 1.266 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.8243, allocations: 8 kB / 1.266 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.8243, allocations: 4 kB / 1.266 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009279/0.8252, allocations: 0.7388 MB / 1.267 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009253/0.8261, allocations: 0.5784 MB / 1.267 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.8265, allocations: 231.5 kB / 1.268 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.8267, allocations: 96.81 kB / 1.268 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.8267, allocations: 23.97 kB / 1.268 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.8271, allocations: 169.6 kB / 1.268 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 3.426e-06/0.8271, allocations: 7.984 kB / 1.268 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.0006764/0.8278, allocations: 364.3 kB / 1.268 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.8279, allocations: 136.5 kB / 1.268 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.8282, allocations: 312.9 kB / 1.269 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.8283, allocations: 29.7 kB / 1.269 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.8284, allocations: 128.7 kB / 1.269 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.916e-05/0.8285, allocations: 110.9 kB / 1.269 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.8286, allocations: 69.62 kB / 1.269 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8288, allocations: 334.8 kB / 1.269 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.8289, allocations: 79.95 kB / 1.269 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.8291, allocations: 127.6 kB / 1.27 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.8295, allocations: 204.7 kB / 1.27 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.8295, allocations: 0 / 1.27 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004692/0.83, allocations: 273.9 kB / 1.27 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.83, allocations: 8 kB / 1.27 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.83, allocations: 0 / 1.27 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.83, allocations: 0 / 1.27 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.8302, allocations: 63.89 kB / 1.27 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.8303, allocations: 3.938 kB / 1.27 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.8304, allocations: 27.84 kB / 1.27 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.8304, allocations: 15.98 kB / 1.27 GB, free: 13.57 MB / 0.9825 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.0001728/0.8306, allocations: 157.8 kB / 1.27 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.8307, allocations: 23.86 kB / 1.27 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007018/0.8314, allocations: 380.7 kB / 1.271 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.8314, allocations: 4 kB / 1.271 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.8314, allocations: 3.938 kB / 1.271 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.8314, allocations: 7.922 kB / 1.271 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.8318, allocations: 337.2 kB / 1.271 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8318, allocations: 0 / 1.271 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.832, allocations: 59.91 kB / 1.271 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.832, allocations: 4 kB / 1.271 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.832, allocations: 15.98 kB / 1.271 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.832, allocations: 0 / 1.271 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.832, allocations: 3.938 kB / 1.271 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.8325, allocations: 314.5 kB / 1.271 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.8327, allocations: 140.8 kB / 1.272 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.8327, allocations: 11.98 kB / 1.272 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.8329, allocations: 21.25 kB / 1.272 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.8329, allocations: 27.91 kB / 1.272 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.833, allocations: 12 kB / 1.272 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002334/0.8332, allocations: 236.4 kB / 1.272 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8332, allocations: 0 / 1.272 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002896/0.8335, allocations: 59.94 kB / 1.272 GB, free: 11.68 MB / 0.9825 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.002094/0.8356, allocations: 1.154 MB / 1.273 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.836, allocations: 224.3 kB / 1.273 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8361, allocations: 0 / 1.273 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.8363, allocations: 132.3 kB / 1.273 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.8366, allocations: 32.61 kB / 1.273 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.8395, allocations: 2.434 MB / 1.276 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.84, allocations: 0.7574 MB / 1.277 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003241/0.8403, allocations: 154.8 kB / 1.277 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.8404, allocations: 87.39 kB / 1.277 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.8405, allocations: 0 / 1.277 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.8706, allocations: 5.526 MB / 1.282 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/9.299, allocations: 17.58 kB / 1.282 GB, free: 1.336 MB / 0.9825 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.26900097518228]