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.001377/0.001377, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.00153/0.00153, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.584/1.584, allocations: 230.5 MB / 252.8 MB, free: 9.148 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.295/3.295, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 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.002059/0.002059, allocations: 71.5 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4172, allocations: 176.1 MB / 1.321 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2433/0.6605, allocations: 170.8 MB / 1.488 GB, free: 7.504 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003245/0.6637, allocations: 1.558 MB / 1.49 GB, free: 5.941 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.6641, allocations: 19.81 kB / 1.49 GB, free: 5.922 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.6646, allocations: 146.9 kB / 1.49 GB, free: 5.777 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.6666, allocations: 0.7351 MB / 1.49 GB, free: 5.039 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.6683, allocations: 0.6034 MB / 1.491 GB, free: 4.438 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009925/0.6693, allocations: 0.6973 MB / 1.492 GB, free: 3.738 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004017/0.6697, allocations: 200.8 kB / 1.492 GB, free: 3.539 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.6708, allocations: 0.4944 MB / 1.492 GB, free: 3.043 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.6711, allocations: 231 kB / 1.493 GB, free: 2.816 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.6712, allocations: 20 kB / 1.493 GB, free: 2.797 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.673, allocations: 0.9157 MB / 1.494 GB, free: 1.879 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.6731, allocations: 111.7 kB / 1.494 GB, free: 1.77 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.6733, allocations: 167.2 kB / 1.494 GB, free: 1.605 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.6746, allocations: 0.7281 MB / 1.495 GB, free: 0.875 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6746, allocations: 0 / 1.495 GB, free: 0.875 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6746, allocations: 0 / 1.495 GB, free: 0.875 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.6746, allocations: 0 / 1.495 GB, free: 0.875 MB / 1.186 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.001198/0.6758, allocations: 0.6576 MB / 1.495 GB, free: 172 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.6759, allocations: 15.98 kB / 1.495 GB, free: 156 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.6771, allocations: 155.6 kB / 1.495 GB, free: 0 / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.6777, allocations: 325.9 kB / 1.496 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.6777, allocations: 16.38 kB / 1.496 GB, free: 15.62 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.6778, allocations: 24 kB / 1.496 GB, free: 15.6 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.6783, allocations: 283.4 kB / 1.496 GB, free: 15.3 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.6784, allocations: 0 / 1.496 GB, free: 15.3 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.6784, allocations: 12 kB / 1.496 GB, free: 15.29 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.6784, allocations: 4 kB / 1.496 GB, free: 15.28 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.6789, allocations: 199.8 kB / 1.496 GB, free: 15.09 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.6806, allocations: 1.209 MB / 1.497 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.6809, allocations: 134.4 kB / 1.497 GB, free: 13.63 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.6811, allocations: 84.8 kB / 1.498 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006369/0.6817, allocations: 307.2 kB / 1.498 GB, free: 13.19 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.6817, allocations: 38.5 kB / 1.498 GB, free: 13.14 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.6817, allocations: 0 / 1.498 GB, free: 13.14 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0008438/0.6826, allocations: 287.8 kB / 1.498 GB, free: 12.86 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.6826, allocations: 51.41 kB / 1.498 GB, free: 12.8 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.683, allocations: 312.5 kB / 1.498 GB, free: 12.48 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.683, allocations: 33.7 kB / 1.499 GB, free: 12.45 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.6832, allocations: 180.3 kB / 1.499 GB, free: 12.27 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.6833, allocations: 55.52 kB / 1.499 GB, free: 12.21 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.6833, allocations: 45.67 kB / 1.499 GB, free: 12.16 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.6835, allocations: 342.8 kB / 1.499 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.6837, allocations: 63.95 kB / 1.499 GB, free: 11.75 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.684, allocations: 121 kB / 1.499 GB, free: 11.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.6844, allocations: 189 kB / 1.499 GB, free: 11.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6844, allocations: 3.938 kB / 1.499 GB, free: 11.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005084/0.6849, allocations: 243.4 kB / 1.5 GB, free: 11.17 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.6849, allocations: 12.09 kB / 1.5 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6849, allocations: 0 / 1.5 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.6849, allocations: 4 kB / 1.5 GB, free: 11.15 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.6851, allocations: 39.98 kB / 1.5 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.6851, allocations: 3.984 kB / 1.5 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.6853, allocations: 27.84 kB / 1.5 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.6854, allocations: 19.91 kB / 1.5 GB, free: 11.06 MB / 1.201 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.0001782/0.6856, allocations: 149.7 kB / 1.5 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.6856, allocations: 35.81 kB / 1.5 GB, free: 10.87 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005272/0.6861, allocations: 216.3 kB / 1.5 GB, free: 10.65 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6862, allocations: 0 / 1.5 GB, free: 10.65 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6862, allocations: 4 kB / 1.5 GB, free: 10.65 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6862, allocations: 0 / 1.5 GB, free: 10.65 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.6873, allocations: 0.6796 MB / 1.501 GB, free: 9.891 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.6873, allocations: 4 kB / 1.501 GB, free: 9.887 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.6875, allocations: 39.91 kB / 1.501 GB, free: 9.848 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.6875, allocations: 12.09 kB / 1.501 GB, free: 9.836 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.6875, allocations: 7.938 kB / 1.501 GB, free: 9.828 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.6875, allocations: 4 kB / 1.501 GB, free: 9.824 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6875, allocations: 0 / 1.501 GB, free: 9.824 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.6883, allocations: 439.4 kB / 1.501 GB, free: 9.359 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.6884, allocations: 125 kB / 1.501 GB, free: 9.219 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.6885, allocations: 15.92 kB / 1.501 GB, free: 9.203 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.6886, allocations: 7.984 kB / 1.501 GB, free: 9.195 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.6887, allocations: 20.05 kB / 1.502 GB, free: 9.176 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.6887, allocations: 4 kB / 1.502 GB, free: 9.172 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002576/0.689, allocations: 231 kB / 1.502 GB, free: 8.945 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.689, allocations: 0 / 1.502 GB, free: 8.945 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004266/0.6894, allocations: 75.94 kB / 1.502 GB, free: 8.871 MB / 1.201 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.0003467/0.6897, allocations: 151.1 kB / 1.502 GB, free: 8.711 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.6902, allocations: 159.8 kB / 1.502 GB, free: 8.555 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6902, allocations: 0 / 1.502 GB, free: 8.555 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.6904, allocations: 91.81 kB / 1.502 GB, free: 8.465 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009285/0.6914, allocations: 169.4 kB / 1.502 GB, free: 8.305 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.6925, allocations: 0.6103 MB / 1.503 GB, free: 7.645 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.693, allocations: 0.7834 MB / 1.504 GB, free: 6.836 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.6932, allocations: 66.92 kB / 1.504 GB, free: 6.77 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.6933, allocations: 23.44 kB / 1.504 GB, free: 6.746 MB / 1.201 GB Notification: Performance of SimCode: time 6.21e-07/0.6933, allocations: 0 / 1.504 GB, free: 6.746 MB / 1.201 GB Notification: Performance of Templates: time 0.01246/0.7057, allocations: 5.799 MB / 1.509 GB, free: 1.047 MB / 1.201 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: 9.799862594809383]