Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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.001489/0.001489, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001742/0.001742, allocations: 217.6 kB / 22.26 MB, free: 5.113 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.966/2.966, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",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.001853/0.001853, allocations: 64.67 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2914, allocations: 180.2 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.185/0.4764, allocations: 173.1 MB / 1.522 GB, free: 10.62 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008773/0.4852, allocations: 7.425 MB / 1.529 GB, free: 3.172 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003866/0.4856, allocations: 19.81 kB / 1.529 GB, free: 3.152 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006708/0.4862, allocations: 226.6 kB / 1.529 GB, free: 2.93 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.4877, allocations: 0.5989 MB / 1.53 GB, free: 2.328 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.4888, allocations: 439.4 kB / 1.53 GB, free: 1.902 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.4899, allocations: 0.7207 MB / 1.531 GB, free: 1.18 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.4903, allocations: 215.4 kB / 1.531 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.4914, allocations: 0.5488 MB / 1.532 GB, free: 436 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.4918, allocations: 231 kB / 1.532 GB, free: 204 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.4918, allocations: 20 kB / 1.532 GB, free: 184 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.493, allocations: 0.7288 MB / 1.533 GB, free: 15.45 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.4931, allocations: 103.6 kB / 1.533 GB, free: 15.35 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.4933, allocations: 159.2 kB / 1.533 GB, free: 15.19 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0009122/0.4942, allocations: 0.5722 MB / 1.534 GB, free: 14.62 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4942, allocations: 0 / 1.534 GB, free: 14.62 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4942, allocations: 0 / 1.534 GB, free: 14.62 MB / 1.232 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.4942, allocations: 4 kB / 1.534 GB, free: 14.61 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009126/0.4951, allocations: 0.5784 MB / 1.534 GB, free: 14 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.4952, allocations: 8.031 kB / 1.534 GB, free: 14 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.4952, allocations: 62.47 kB / 1.534 GB, free: 13.93 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.4956, allocations: 67.72 kB / 1.534 GB, free: 13.86 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.4961, allocations: 264 kB / 1.535 GB, free: 13.57 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.4961, allocations: 20.44 kB / 1.535 GB, free: 13.55 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.4961, allocations: 24 kB / 1.535 GB, free: 13.53 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.4966, allocations: 296.6 kB / 1.535 GB, free: 13.2 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4966, allocations: 3.938 kB / 1.535 GB, free: 13.19 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.4967, allocations: 8 kB / 1.535 GB, free: 13.18 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4967, allocations: 4 kB / 1.535 GB, free: 13.18 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.497, allocations: 183.7 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.4987, allocations: 1.659 MB / 1.537 GB, free: 11.23 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.499, allocations: 82.56 kB / 1.537 GB, free: 11.14 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.4991, allocations: 80.73 kB / 1.537 GB, free: 11.05 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.4993, allocations: 39.97 kB / 1.537 GB, free: 11.02 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.4993, allocations: 30.56 kB / 1.537 GB, free: 10.98 MB / 1.232 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.4993, allocations: 0 / 1.537 GB, free: 10.98 MB / 1.232 GB Notification: Performance of matching and sorting (n=11): time 0.0006682/0.5, allocations: 225.3 kB / 1.537 GB, free: 10.75 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5, allocations: 55.41 kB / 1.537 GB, free: 10.68 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.5004, allocations: 328.4 kB / 1.538 GB, free: 10.35 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.5004, allocations: 29.7 kB / 1.538 GB, free: 10.31 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.5005, allocations: 204.1 kB / 1.538 GB, free: 10.11 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.5006, allocations: 39.64 kB / 1.538 GB, free: 10.07 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.5007, allocations: 53.66 kB / 1.538 GB, free: 10.01 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5008, allocations: 338.8 kB / 1.538 GB, free: 9.672 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.501, allocations: 68.77 kB / 1.538 GB, free: 9.602 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.5012, allocations: 196 kB / 1.538 GB, free: 9.352 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.5016, allocations: 237.4 kB / 1.539 GB, free: 9.07 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5016, allocations: 4 kB / 1.539 GB, free: 9.066 MB / 1.232 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004648/0.502, allocations: 257.4 kB / 1.539 GB, free: 8.809 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5021, allocations: 6.031 kB / 1.539 GB, free: 8.805 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5021, allocations: 4 kB / 1.539 GB, free: 8.801 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5021, allocations: 4 kB / 1.539 GB, free: 8.797 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.5023, allocations: 55.91 kB / 1.539 GB, free: 8.742 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.5023, allocations: 15.88 kB / 1.539 GB, free: 8.727 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.5025, allocations: 27.83 kB / 1.539 GB, free: 8.699 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.5025, allocations: 16 kB / 1.539 GB, free: 8.684 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002333/0.5028, allocations: 172.8 kB / 1.539 GB, free: 8.512 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002448/0.503, allocations: 190.5 kB / 1.539 GB, free: 8.266 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003512/0.5034, allocations: 233.5 kB / 1.54 GB, free: 7.988 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.5034, allocations: 7.938 kB / 1.54 GB, free: 7.98 MB / 1.232 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004955/0.5039, allocations: 249.7 kB / 1.54 GB, free: 7.73 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5039, allocations: 8 kB / 1.54 GB, free: 7.723 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5039, allocations: 7.984 kB / 1.54 GB, free: 7.715 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.5039, allocations: 4 kB / 1.54 GB, free: 7.711 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.5041, allocations: 47.91 kB / 1.54 GB, free: 7.664 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.5041, allocations: 4 kB / 1.54 GB, free: 7.66 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.5043, allocations: 27.88 kB / 1.54 GB, free: 7.633 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.5043, allocations: 19.98 kB / 1.54 GB, free: 7.613 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.000153/0.5045, allocations: 204.1 kB / 1.54 GB, free: 7.406 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.5045, allocations: 31.75 kB / 1.54 GB, free: 7.375 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.5049, allocations: 176.4 kB / 1.54 GB, free: 7.195 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5049, allocations: 0 / 1.54 GB, free: 7.195 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5049, allocations: 4 kB / 1.54 GB, free: 7.191 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5049, allocations: 0 / 1.54 GB, free: 7.191 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008816/0.5058, allocations: 0.5734 MB / 1.541 GB, free: 6.547 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5058, allocations: 0 / 1.541 GB, free: 6.547 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.5059, allocations: 36.12 kB / 1.541 GB, free: 6.512 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5059, allocations: 0 / 1.541 GB, free: 6.512 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5059, allocations: 4 kB / 1.541 GB, free: 6.508 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5059, allocations: 4 kB / 1.541 GB, free: 6.504 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5059, allocations: 3.938 kB / 1.541 GB, free: 6.5 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.5064, allocations: 301.2 kB / 1.541 GB, free: 6.168 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.5064, allocations: 35.8 kB / 1.541 GB, free: 6.133 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.5065, allocations: 11.98 kB / 1.541 GB, free: 6.121 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5067, allocations: 8 kB / 1.541 GB, free: 6.113 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.5067, allocations: 19.91 kB / 1.541 GB, free: 6.094 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5067, allocations: 11.94 kB / 1.541 GB, free: 6.082 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000227/0.5069, allocations: 231 kB / 1.542 GB, free: 5.855 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5069, allocations: 0 / 1.542 GB, free: 5.855 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000541/0.5075, allocations: 139.7 kB / 1.542 GB, free: 5.719 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0008071/0.5083, allocations: 0.8819 MB / 1.543 GB, free: 4.789 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005291/0.5088, allocations: 241 kB / 1.543 GB, free: 4.555 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5088, allocations: 4.062 kB / 1.543 GB, free: 4.551 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.509, allocations: 55.91 kB / 1.543 GB, free: 4.496 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.5096, allocations: 129.5 kB / 1.543 GB, free: 4.371 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.513, allocations: 2.809 MB / 1.546 GB, free: 1.352 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.5134, allocations: 0.7754 MB / 1.546 GB, free: 0.5469 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002364/0.5136, allocations: 90.88 kB / 1.547 GB, free: 468 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.5138, allocations: 87.41 kB / 1.547 GB, free: 380 kB / 1.232 GB Notification: Performance of SimCode: time 4.2e-07/0.5138, allocations: 4 kB / 1.547 GB, free: 376 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.5499, allocations: 8.149 MB / 1.555 GB, free: 8.41 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.86, allocations: 12.95 kB / 1.555 GB, free: 8.402 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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: 16.930575418053195]