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.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.001626/0.001626, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00192/0.00192, allocations: 210.3 kB / 22.98 MB, free: 4.984 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.638/1.638, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.283/3.283, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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: 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.00255/0.00255, allocations: 68.56 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3964, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.211/0.6074, allocations: 147.6 MB / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003715/0.6111, allocations: 1.479 MB / 1.473 GB, free: 11.27 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.6115, allocations: 19.88 kB / 1.473 GB, free: 11.25 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.6121, allocations: 146.9 kB / 1.473 GB, free: 11.11 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.6144, allocations: 0.7079 MB / 1.474 GB, free: 10.39 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.6163, allocations: 0.6186 MB / 1.474 GB, free: 9.777 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.6174, allocations: 0.7167 MB / 1.475 GB, free: 9.059 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.6178, allocations: 189.1 kB / 1.475 GB, free: 8.871 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.6189, allocations: 0.4983 MB / 1.476 GB, free: 8.371 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.6193, allocations: 235 kB / 1.476 GB, free: 8.141 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.6193, allocations: 24 kB / 1.476 GB, free: 8.117 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.6208, allocations: 0.7129 MB / 1.476 GB, free: 7.402 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.621, allocations: 119.6 kB / 1.477 GB, free: 7.285 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.6211, allocations: 139.4 kB / 1.477 GB, free: 7.148 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.6223, allocations: 0.6891 MB / 1.477 GB, free: 6.457 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6223, allocations: 4 kB / 1.477 GB, free: 6.453 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6223, allocations: 0 / 1.477 GB, free: 6.453 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.6223, allocations: 0 / 1.477 GB, free: 6.453 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.001294/0.6236, allocations: 0.5795 MB / 1.478 GB, free: 5.844 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.6237, allocations: 12.03 kB / 1.478 GB, free: 5.832 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.6249, allocations: 163.6 kB / 1.478 GB, free: 5.672 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/0.6256, allocations: 256 kB / 1.478 GB, free: 5.391 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.6256, allocations: 16.44 kB / 1.478 GB, free: 5.375 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.6257, allocations: 24 kB / 1.478 GB, free: 5.352 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.6262, allocations: 279.5 kB / 1.479 GB, free: 5.059 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.6262, allocations: 7.922 kB / 1.479 GB, free: 5.051 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.6262, allocations: 11.98 kB / 1.479 GB, free: 5.039 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.6262, allocations: 4 kB / 1.479 GB, free: 5.035 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.6267, allocations: 195.8 kB / 1.479 GB, free: 4.844 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.6282, allocations: 0.9194 MB / 1.48 GB, free: 3.879 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.6285, allocations: 126.5 kB / 1.48 GB, free: 3.746 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.6287, allocations: 88.8 kB / 1.48 GB, free: 3.656 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005413/0.6292, allocations: 71.92 kB / 1.48 GB, free: 3.586 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.6292, allocations: 42.56 kB / 1.48 GB, free: 3.535 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.6292, allocations: 0 / 1.48 GB, free: 3.535 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.0008215/0.6301, allocations: 279.1 kB / 1.48 GB, free: 3.258 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.6301, allocations: 55.41 kB / 1.48 GB, free: 3.191 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.6304, allocations: 249.9 kB / 1.481 GB, free: 2.934 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.6304, allocations: 29.64 kB / 1.481 GB, free: 2.898 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.6305, allocations: 188.2 kB / 1.481 GB, free: 2.711 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.6306, allocations: 59.52 kB / 1.481 GB, free: 2.652 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/0.6307, allocations: 45.66 kB / 1.481 GB, free: 2.602 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6308, allocations: 334.8 kB / 1.481 GB, free: 2.266 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.631, allocations: 63.95 kB / 1.481 GB, free: 2.203 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.6314, allocations: 203.5 kB / 1.482 GB, free: 1.969 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.6317, allocations: 195.6 kB / 1.482 GB, free: 1.762 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6318, allocations: 0 / 1.482 GB, free: 1.762 MB / 1.17 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005503/0.6323, allocations: 233.3 kB / 1.482 GB, free: 1.527 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.6323, allocations: 8 kB / 1.482 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6323, allocations: 4.094 kB / 1.482 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.6324, allocations: 4 kB / 1.482 GB, free: 1.512 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.6326, allocations: 43.91 kB / 1.482 GB, free: 1.469 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6326, allocations: 4 kB / 1.482 GB, free: 1.465 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.6328, allocations: 23.88 kB / 1.482 GB, free: 1.441 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.6328, allocations: 8 kB / 1.482 GB, free: 1.434 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.0001792/0.633, allocations: 153.7 kB / 1.482 GB, free: 1.273 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.633, allocations: 31.81 kB / 1.482 GB, free: 1.242 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.6335, allocations: 215.3 kB / 1.482 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.6335, allocations: 0 / 1.482 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6335, allocations: 0 / 1.482 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6335, allocations: 3.938 kB / 1.482 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.6346, allocations: 0.6014 MB / 1.483 GB, free: 372 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.6346, allocations: 0 / 1.483 GB, free: 372 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.6348, allocations: 31.92 kB / 1.483 GB, free: 340 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.6348, allocations: 4 kB / 1.483 GB, free: 336 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.6348, allocations: 8 kB / 1.483 GB, free: 328 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.6349, allocations: 15.86 kB / 1.483 GB, free: 312 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6349, allocations: 4 kB / 1.483 GB, free: 308 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/0.6356, allocations: 432 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.6357, allocations: 35.86 kB / 1.484 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.6358, allocations: 8 kB / 1.484 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.6359, allocations: 7.938 kB / 1.484 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.636, allocations: 19.97 kB / 1.484 GB, free: 15.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.636, allocations: 7.938 kB / 1.484 GB, free: 15.77 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001784/0.6362, allocations: 181.2 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.6362, allocations: 0 / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004589/0.6367, allocations: 83.83 kB / 1.484 GB, free: 15.51 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.0003128/0.637, allocations: 151.1 kB / 1.484 GB, free: 15.35 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004661/0.6374, allocations: 167.8 kB / 1.484 GB, free: 15.19 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6374, allocations: 0 / 1.484 GB, free: 15.19 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.6376, allocations: 80.39 kB / 1.484 GB, free: 15.11 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007688/0.6384, allocations: 140.9 kB / 1.484 GB, free: 14.98 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.6395, allocations: 0.5862 MB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.6397, allocations: 170.7 kB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.6399, allocations: 58.23 kB / 1.485 GB, free: 14.1 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.64, allocations: 27.44 kB / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.64, allocations: 0 / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of Templates: time 0.01136/0.6513, allocations: 5.266 MB / 1.49 GB, free: 8.934 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 -s cvode -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/jenkins1/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: 9.756254769003135]