Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001591/0.001591, allocations: 103 kB / 16.45 MB, free: 6.504 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.001967/0.001967, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.407/1.407, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.01/3.01, allocations: 0.49 GB / 0.7916 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_12_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.001996/0.001996, allocations: 73.3 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2092/0.537, allocations: 172.9 MB / 1.49 GB, free: 5.738 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00924/0.5463, allocations: 7.38 MB / 1.497 GB, free: 14.34 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005353/0.5468, allocations: 19.81 kB / 1.497 GB, free: 14.32 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006992/0.5475, allocations: 210.6 kB / 1.497 GB, free: 14.11 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.549, allocations: 0.5989 MB / 1.498 GB, free: 13.51 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.5502, allocations: 430.1 kB / 1.498 GB, free: 13.09 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009089/0.5511, allocations: 0.7128 MB / 1.499 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.5515, allocations: 235 kB / 1.499 GB, free: 12.15 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.5525, allocations: 0.5371 MB / 1.5 GB, free: 11.61 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.5528, allocations: 231 kB / 1.5 GB, free: 11.39 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.5528, allocations: 20 kB / 1.5 GB, free: 11.37 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.5539, allocations: 0.7132 MB / 1.5 GB, free: 10.65 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.5541, allocations: 111.6 kB / 1.501 GB, free: 10.54 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.5542, allocations: 155.2 kB / 1.501 GB, free: 10.39 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008846/0.5551, allocations: 0.5722 MB / 1.501 GB, free: 9.816 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5551, allocations: 4 kB / 1.501 GB, free: 9.812 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5551, allocations: 0 / 1.501 GB, free: 9.812 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.5551, allocations: 0 / 1.501 GB, free: 9.812 MB / 1.201 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.001026/0.5562, allocations: 0.6575 MB / 1.502 GB, free: 9.105 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5562, allocations: 11.98 kB / 1.502 GB, free: 9.094 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.708e-05/0.5563, allocations: 62.48 kB / 1.502 GB, free: 9.023 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.5567, allocations: 59.78 kB / 1.502 GB, free: 8.965 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.5572, allocations: 326.3 kB / 1.502 GB, free: 8.602 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.5572, allocations: 16.44 kB / 1.502 GB, free: 8.586 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.5572, allocations: 32 kB / 1.502 GB, free: 8.555 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.5578, allocations: 296.6 kB / 1.503 GB, free: 8.223 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5578, allocations: 11.88 kB / 1.503 GB, free: 8.211 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.5578, allocations: 12 kB / 1.503 GB, free: 8.199 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.5579, allocations: 4 kB / 1.503 GB, free: 8.195 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.5583, allocations: 175.5 kB / 1.503 GB, free: 8.023 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.56, allocations: 1.694 MB / 1.505 GB, free: 6.207 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.5603, allocations: 82.5 kB / 1.505 GB, free: 6.117 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.5604, allocations: 88.72 kB / 1.505 GB, free: 6.027 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.5607, allocations: 190.1 kB / 1.505 GB, free: 5.805 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5608, allocations: 38.56 kB / 1.505 GB, free: 5.758 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.5608, allocations: 0 / 1.505 GB, free: 5.758 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.0007282/0.5615, allocations: 217.4 kB / 1.505 GB, free: 5.539 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.5616, allocations: 55.34 kB / 1.505 GB, free: 5.473 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.5619, allocations: 324.5 kB / 1.506 GB, free: 5.137 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.562, allocations: 29.7 kB / 1.506 GB, free: 5.102 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.5622, allocations: 200.1 kB / 1.506 GB, free: 4.902 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.5622, allocations: 43.64 kB / 1.506 GB, free: 4.859 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.5623, allocations: 41.72 kB / 1.506 GB, free: 4.812 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5625, allocations: 346.8 kB / 1.506 GB, free: 4.465 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.5626, allocations: 64.75 kB / 1.506 GB, free: 4.398 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.5629, allocations: 194.8 kB / 1.506 GB, free: 4.148 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.5633, allocations: 237.4 kB / 1.507 GB, free: 3.867 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5633, allocations: 0 / 1.507 GB, free: 3.867 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005041/0.5638, allocations: 253.1 kB / 1.507 GB, free: 3.613 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5638, allocations: 8 kB / 1.507 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5638, allocations: 4 kB / 1.507 GB, free: 3.602 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5639, allocations: 4 kB / 1.507 GB, free: 3.598 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.564, allocations: 51.91 kB / 1.507 GB, free: 3.547 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5641, allocations: 7.938 kB / 1.507 GB, free: 3.539 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.5643, allocations: 44.14 kB / 1.507 GB, free: 3.496 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.5643, allocations: 8 kB / 1.507 GB, free: 3.488 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002523/0.5646, allocations: 175.9 kB / 1.507 GB, free: 3.312 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002694/0.5649, allocations: 194.9 kB / 1.507 GB, free: 3.062 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003732/0.5652, allocations: 237.4 kB / 1.508 GB, free: 2.781 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.5652, allocations: 0 / 1.508 GB, free: 2.781 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004604/0.5657, allocations: 249.4 kB / 1.508 GB, free: 2.531 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.5657, allocations: 8 kB / 1.508 GB, free: 2.523 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5657, allocations: 4 kB / 1.508 GB, free: 2.52 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.5657, allocations: 4 kB / 1.508 GB, free: 2.516 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.5659, allocations: 47.91 kB / 1.508 GB, free: 2.469 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5659, allocations: 7.938 kB / 1.508 GB, free: 2.461 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.5661, allocations: 40.22 kB / 1.508 GB, free: 2.422 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.5661, allocations: 16 kB / 1.508 GB, free: 2.406 MB / 1.201 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.0001432/0.5663, allocations: 188.2 kB / 1.508 GB, free: 2.215 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.5663, allocations: 35.75 kB / 1.508 GB, free: 2.18 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.5668, allocations: 168.5 kB / 1.508 GB, free: 2.008 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5668, allocations: 0 / 1.508 GB, free: 2.008 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5668, allocations: 0 / 1.508 GB, free: 2.008 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5668, allocations: 4 kB / 1.508 GB, free: 2.004 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.5677, allocations: 0.6171 MB / 1.509 GB, free: 1.309 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5678, allocations: 8 kB / 1.509 GB, free: 1.301 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.5679, allocations: 23.92 kB / 1.509 GB, free: 1.277 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.5679, allocations: 4 kB / 1.509 GB, free: 1.273 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.5679, allocations: 8 kB / 1.509 GB, free: 1.266 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5679, allocations: 0 / 1.509 GB, free: 1.266 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.5679, allocations: 11.92 kB / 1.509 GB, free: 1.254 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.5683, allocations: 301.4 kB / 1.509 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5685, allocations: 120.9 kB / 1.509 GB, free: 0.7852 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.5685, allocations: 4 kB / 1.509 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.5687, allocations: 11.98 kB / 1.509 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.5687, allocations: 19.86 kB / 1.509 GB, free: 0.75 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.5687, allocations: 4 kB / 1.509 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002482/0.569, allocations: 231 kB / 1.51 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.569, allocations: 0 / 1.51 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005702/0.5695, allocations: 131.8 kB / 1.51 GB, free: 404 kB / 1.201 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.0009571/0.5705, allocations: 0.8858 MB / 1.511 GB, free: 15.46 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000597/0.5711, allocations: 240.5 kB / 1.511 GB, free: 15.23 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5711, allocations: 0 / 1.511 GB, free: 15.23 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.5713, allocations: 63.89 kB / 1.511 GB, free: 15.16 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.572, allocations: 125.5 kB / 1.511 GB, free: 15.05 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.5757, allocations: 2.806 MB / 1.514 GB, free: 12.03 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.5761, allocations: 0.7832 MB / 1.515 GB, free: 11.22 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002567/0.5764, allocations: 78.89 kB / 1.515 GB, free: 11.14 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.5765, allocations: 91.41 kB / 1.515 GB, free: 11.05 MB / 1.217 GB Notification: Performance of SimCode: time 6.12e-07/0.5765, allocations: 0 / 1.515 GB, free: 11.05 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.6114, allocations: 7.939 MB / 1.522 GB, free: 3.258 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.751, allocations: 5.5 kB / 1.522 GB, free: 3.254 MB / 1.217 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.991576293949038]