Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001362/0.001362, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001341/0.001341, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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 2.821/2.821, allocations: 497.2 MB / 0.7812 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 176] 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.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.91 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2235/1.234, allocations: 167.9 MB / 1.468 GB, free: 6.156 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003535/1.238, allocations: 1.553 MB / 1.469 GB, free: 5.066 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005194/1.238, allocations: 15.38 kB / 1.469 GB, free: 5.059 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006416/1.239, allocations: 149.4 kB / 1.47 GB, free: 4.961 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002224/1.241, allocations: 0.734 MB / 1.47 GB, free: 4.574 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/1.243, allocations: 0.6087 MB / 1.471 GB, free: 4.273 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001351/1.245, allocations: 0.6981 MB / 1.472 GB, free: 3.957 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005033/1.245, allocations: 203.7 kB / 1.472 GB, free: 3.863 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/1.247, allocations: 0.4895 MB / 1.472 GB, free: 3.645 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/1.247, allocations: 227 kB / 1.473 GB, free: 3.551 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/1.247, allocations: 22.88 kB / 1.473 GB, free: 3.551 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/1.249, allocations: 0.9133 MB / 1.473 GB, free: 3.129 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/1.25, allocations: 108.9 kB / 1.474 GB, free: 3.055 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/1.25, allocations: 162.5 kB / 1.474 GB, free: 2.957 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/1.251, allocations: 0.7256 MB / 1.474 GB, free: 2.523 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.251, allocations: 0 / 1.474 GB, free: 2.523 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.196e-06/1.251, allocations: 0 / 1.474 GB, free: 2.523 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.251, allocations: 1.219 kB / 1.474 GB, free: 2.523 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001314/1.253, allocations: 0.6621 MB / 1.475 GB, free: 1.93 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.253, allocations: 10.72 kB / 1.475 GB, free: 1.93 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.844e-05/1.253, allocations: 65.88 kB / 1.475 GB, free: 1.863 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/1.254, allocations: 160.2 kB / 1.475 GB, free: 1.785 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/1.255, allocations: 316.8 kB / 1.476 GB, free: 1.488 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/1.255, allocations: 17.94 kB / 1.476 GB, free: 1.48 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/1.255, allocations: 27.39 kB / 1.476 GB, free: 1.469 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/1.255, allocations: 278.6 kB / 1.476 GB, free: 1.277 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.255, allocations: 1.312 kB / 1.476 GB, free: 1.277 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/1.255, allocations: 9.5 kB / 1.476 GB, free: 1.27 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/1.255, allocations: 5.5 kB / 1.476 GB, free: 1.27 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/1.256, allocations: 189.9 kB / 1.476 GB, free: 1.188 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/1.258, allocations: 1.215 MB / 1.477 GB, free: 64 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/1.258, allocations: 134.4 kB / 1.477 GB, free: 15.98 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/1.258, allocations: 85.5 kB / 1.477 GB, free: 15.94 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/1.259, allocations: 314.2 kB / 1.478 GB, free: 15.62 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.259, allocations: 32.06 kB / 1.478 GB, free: 15.58 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/1.259, allocations: 0 / 1.478 GB, free: 15.58 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.0007873/1.26, allocations: 280.3 kB / 1.478 GB, free: 15.43 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/1.26, allocations: 52.75 kB / 1.478 GB, free: 15.37 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/1.26, allocations: 320.1 kB / 1.478 GB, free: 15.17 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/1.26, allocations: 26.67 kB / 1.478 GB, free: 15.14 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/1.26, allocations: 184.6 kB / 1.479 GB, free: 14.97 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/1.26, allocations: 51.25 kB / 1.479 GB, free: 14.93 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/1.26, allocations: 46.17 kB / 1.479 GB, free: 14.89 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.26, allocations: 338 kB / 1.479 GB, free: 14.56 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/1.261, allocations: 62.45 kB / 1.479 GB, free: 14.53 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/1.261, allocations: 130.6 kB / 1.479 GB, free: 14.43 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/1.261, allocations: 191.2 kB / 1.479 GB, free: 14.3 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.261, allocations: 1.219 kB / 1.479 GB, free: 14.3 MB / 1.17 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004774/1.262, allocations: 237.8 kB / 1.48 GB, free: 14.18 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.262, allocations: 7.406 kB / 1.48 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.262, allocations: 1.375 kB / 1.48 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.262, allocations: 2.875 kB / 1.48 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/1.262, allocations: 44.47 kB / 1.48 GB, free: 14.16 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.262, allocations: 10.06 kB / 1.48 GB, free: 14.16 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/1.262, allocations: 34.8 kB / 1.48 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/1.262, allocations: 10.59 kB / 1.48 GB, free: 14.13 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001744/1.262, allocations: 148.3 kB / 1.48 GB, free: 13.99 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/1.262, allocations: 29.62 kB / 1.48 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/1.263, allocations: 227.2 kB / 1.48 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.263, allocations: 2.094 kB / 1.48 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.263, allocations: 0 / 1.48 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.263, allocations: 0 / 1.48 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/1.264, allocations: 0.6888 MB / 1.481 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.264, allocations: 2.625 kB / 1.481 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/1.264, allocations: 32.17 kB / 1.481 GB, free: 13.24 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.264, allocations: 6.25 kB / 1.481 GB, free: 13.24 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/1.264, allocations: 7.531 kB / 1.481 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.264, allocations: 2.5 kB / 1.481 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.264, allocations: 2.25 kB / 1.481 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/1.265, allocations: 448.5 kB / 1.481 GB, free: 12.89 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/1.265, allocations: 131.7 kB / 1.481 GB, free: 12.76 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/1.265, allocations: 3.219 kB / 1.481 GB, free: 12.76 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/1.265, allocations: 9.344 kB / 1.481 GB, free: 12.76 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/1.265, allocations: 18.84 kB / 1.481 GB, free: 12.75 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/1.265, allocations: 12.89 kB / 1.481 GB, free: 12.74 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002817/1.266, allocations: 223.3 kB / 1.482 GB, free: 12.59 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.266, allocations: 0 / 1.482 GB, free: 12.59 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004728/1.266, allocations: 85.97 kB / 1.482 GB, free: 12.57 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001441/1.268, allocations: 1.025 MB / 1.483 GB, free: 11.69 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004789/1.268, allocations: 167.9 kB / 1.483 GB, free: 11.61 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.268, allocations: 1.375 kB / 1.483 GB, free: 11.61 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/1.268, allocations: 85.23 kB / 1.483 GB, free: 11.57 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/1.269, allocations: 170.9 kB / 1.483 GB, free: 11.48 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/1.274, allocations: 2.916 MB / 1.486 GB, free: 9.277 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/1.274, allocations: 0.7751 MB / 1.487 GB, free: 8.539 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003194/1.275, allocations: 65.86 kB / 1.487 GB, free: 8.508 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/1.275, allocations: 96.94 kB / 1.487 GB, free: 8.43 MB / 1.17 GB Notification: Performance of SimCode: time 2.093e-06/1.275, allocations: 0 / 1.487 GB, free: 8.43 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/1.314, allocations: 8.883 MB / 1.496 GB, free: 2.801 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.549/9.864, allocations: 11.86 kB / 1.496 GB, free: 2.789 MB / 1.17 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.090161398984492]