Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001531/0.001531, allocations: 110 kB / 18.93 MB, free: 2.945 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.001564/0.001564, allocations: 188 kB / 22.22 MB, free: 5.164 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.331/1.331, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.847/2.847, allocations: 496 MB / 0.7835 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 69.72 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2965, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1842/0.4806, allocations: 168.1 MB / 1.471 GB, free: 9.059 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003024/0.4837, allocations: 1.563 MB / 1.473 GB, free: 7.496 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.484, allocations: 15.88 kB / 1.473 GB, free: 7.48 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004933/0.4845, allocations: 150.8 kB / 1.473 GB, free: 7.332 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.4864, allocations: 0.7391 MB / 1.474 GB, free: 6.59 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.488, allocations: 0.6338 MB / 1.475 GB, free: 5.957 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000913/0.4889, allocations: 0.7129 MB / 1.475 GB, free: 5.242 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.4893, allocations: 197 kB / 1.475 GB, free: 5.051 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.4904, allocations: 0.5021 MB / 1.476 GB, free: 4.547 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.4907, allocations: 219.1 kB / 1.476 GB, free: 4.332 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/0.4907, allocations: 28 kB / 1.476 GB, free: 4.305 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.4923, allocations: 0.9274 MB / 1.477 GB, free: 3.375 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.4925, allocations: 115.6 kB / 1.477 GB, free: 3.262 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.4927, allocations: 171.1 kB / 1.477 GB, free: 3.094 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.4939, allocations: 0.7203 MB / 1.478 GB, free: 2.371 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4939, allocations: 0 / 1.478 GB, free: 2.371 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4939, allocations: 0 / 1.478 GB, free: 2.371 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4939, allocations: 4 kB / 1.478 GB, free: 2.367 MB / 1.17 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.001011/0.4949, allocations: 0.5861 MB / 1.479 GB, free: 1.75 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.4949, allocations: 8.031 kB / 1.479 GB, free: 1.742 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.4961, allocations: 159.6 kB / 1.479 GB, free: 1.586 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005486/0.4967, allocations: 252.1 kB / 1.479 GB, free: 1.312 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.4967, allocations: 20.44 kB / 1.479 GB, free: 1.293 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.4967, allocations: 20 kB / 1.479 GB, free: 1.273 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/0.4973, allocations: 279.4 kB / 1.479 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4973, allocations: 3.938 kB / 1.479 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.4973, allocations: 12 kB / 1.479 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4973, allocations: 4 kB / 1.479 GB, free: 0.957 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.4978, allocations: 199.8 kB / 1.479 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.4993, allocations: 1.175 MB / 1.481 GB, free: 15.49 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.4996, allocations: 130.5 kB / 1.481 GB, free: 15.36 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.4998, allocations: 84.81 kB / 1.481 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/0.5002, allocations: 72.19 kB / 1.481 GB, free: 15.2 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.5003, allocations: 42.44 kB / 1.481 GB, free: 15.15 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 3.646e-06/0.5003, allocations: 4 kB / 1.481 GB, free: 15.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0008216/0.5011, allocations: 277.3 kB / 1.481 GB, free: 14.87 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.5011, allocations: 51.41 kB / 1.481 GB, free: 14.8 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.5015, allocations: 320.4 kB / 1.482 GB, free: 14.48 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.5015, allocations: 33.7 kB / 1.482 GB, free: 14.45 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.5017, allocations: 176.3 kB / 1.482 GB, free: 14.27 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.5017, allocations: 63.47 kB / 1.482 GB, free: 14.21 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.5018, allocations: 45.7 kB / 1.482 GB, free: 14.16 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.502, allocations: 334.8 kB / 1.482 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.5021, allocations: 63.95 kB / 1.482 GB, free: 13.76 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.5024, allocations: 129 kB / 1.482 GB, free: 13.61 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.5028, allocations: 185 kB / 1.483 GB, free: 13.41 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5028, allocations: 4 kB / 1.483 GB, free: 13.41 MB / 1.186 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004879/0.5033, allocations: 248.4 kB / 1.483 GB, free: 13.16 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5033, allocations: 8 kB / 1.483 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5033, allocations: 0 / 1.483 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5033, allocations: 7.938 kB / 1.483 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.5035, allocations: 43.91 kB / 1.483 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5035, allocations: 4 kB / 1.483 GB, free: 13.1 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.5037, allocations: 31.77 kB / 1.483 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.5037, allocations: 12.09 kB / 1.483 GB, free: 13.06 MB / 1.186 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.0001588/0.5039, allocations: 153.6 kB / 1.483 GB, free: 12.9 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.5039, allocations: 31.81 kB / 1.483 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004926/0.5044, allocations: 217.1 kB / 1.483 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5044, allocations: 4 kB / 1.483 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5044, allocations: 0 / 1.483 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.5045, allocations: 0 / 1.483 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.5056, allocations: 0.6554 MB / 1.484 GB, free: 11.92 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5056, allocations: 7.938 kB / 1.484 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.5058, allocations: 35.97 kB / 1.484 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.5058, allocations: 8.078 kB / 1.484 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.5058, allocations: 4 kB / 1.484 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.5058, allocations: 0 / 1.484 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/0.5058, allocations: 15.86 kB / 1.484 GB, free: 11.85 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.5065, allocations: 418.6 kB / 1.484 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.5066, allocations: 55.78 kB / 1.484 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.5066, allocations: 11.94 kB / 1.484 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.5068, allocations: 7.984 kB / 1.484 GB, free: 11.33 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.5069, allocations: 23.92 kB / 1.484 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.5069, allocations: 4 kB / 1.484 GB, free: 11.3 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002411/0.5071, allocations: 227 kB / 1.485 GB, free: 11.08 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5071, allocations: 0 / 1.485 GB, free: 11.08 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003811/0.5075, allocations: 79.89 kB / 1.485 GB, free: 11 MB / 1.186 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.0004088/0.5079, allocations: 167.8 kB / 1.485 GB, free: 10.83 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004995/0.5084, allocations: 163.9 kB / 1.485 GB, free: 10.67 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5084, allocations: 4.062 kB / 1.485 GB, free: 10.67 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.5086, allocations: 83.89 kB / 1.485 GB, free: 10.59 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.5095, allocations: 171.5 kB / 1.485 GB, free: 10.42 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.5105, allocations: 0.6056 MB / 1.486 GB, free: 9.77 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.5109, allocations: 0.7795 MB / 1.487 GB, free: 8.965 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.5111, allocations: 70.92 kB / 1.487 GB, free: 8.891 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.5112, allocations: 23.44 kB / 1.487 GB, free: 8.867 MB / 1.186 GB Notification: Performance of SimCode: time 3e-07/0.5112, allocations: 0 / 1.487 GB, free: 8.867 MB / 1.186 GB Notification: Performance of Templates: time 0.01444/0.5256, allocations: 5.895 MB / 1.493 GB, free: 3.066 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.352304608561099]