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.001289/0.001289, allocations: 117.2 kB / 17.13 MB, free: 6.008 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.001609/0.001609, allocations: 214.5 kB / 20.1 MB, free: 3.059 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.887/2.887, allocations: 0.49 GB / 0.7923 GB, free: 1.281 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.002057/0.002057, allocations: 67.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9278/0.9299, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.216/1.146, allocations: 170.8 MB / 1.489 GB, free: 10.85 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00405/1.15, allocations: 1.55 MB / 1.49 GB, free: 9.594 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/1.151, allocations: 18.81 kB / 1.49 GB, free: 9.582 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000689/1.151, allocations: 156.8 kB / 1.49 GB, free: 9.445 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/1.154, allocations: 0.7244 MB / 1.491 GB, free: 8.902 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/1.156, allocations: 0.6121 MB / 1.492 GB, free: 8.453 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001064/1.157, allocations: 0.6937 MB / 1.492 GB, free: 8.055 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/1.157, allocations: 204.3 kB / 1.493 GB, free: 7.918 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/1.158, allocations: 0.4936 MB / 1.493 GB, free: 7.621 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/1.158, allocations: 236 kB / 1.493 GB, free: 7.477 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/1.158, allocations: 25.84 kB / 1.493 GB, free: 7.473 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/1.16, allocations: 0.9124 MB / 1.494 GB, free: 6.945 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/1.16, allocations: 109.7 kB / 1.494 GB, free: 6.871 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/1.16, allocations: 162.7 kB / 1.495 GB, free: 6.773 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/1.162, allocations: 0.7262 MB / 1.495 GB, free: 6.344 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.162, allocations: 0 / 1.495 GB, free: 6.344 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.553e-06/1.162, allocations: 0 / 1.495 GB, free: 6.344 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.162, allocations: 5.219 kB / 1.495 GB, free: 6.34 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.001066/1.163, allocations: 0.6592 MB / 1.496 GB, free: 5.75 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.163, allocations: 13.02 kB / 1.496 GB, free: 5.746 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/1.164, allocations: 155.8 kB / 1.496 GB, free: 5.672 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/1.164, allocations: 325.6 kB / 1.496 GB, free: 5.367 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/1.165, allocations: 18.66 kB / 1.496 GB, free: 5.359 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/1.165, allocations: 22.25 kB / 1.496 GB, free: 5.352 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/1.165, allocations: 283.9 kB / 1.497 GB, free: 5.152 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.165, allocations: 0 / 1.497 GB, free: 5.152 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/1.165, allocations: 14.41 kB / 1.497 GB, free: 5.141 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.165, allocations: 9.234 kB / 1.497 GB, free: 5.137 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/1.166, allocations: 193.3 kB / 1.497 GB, free: 5.051 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/1.167, allocations: 1.208 MB / 1.498 GB, free: 3.934 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/1.167, allocations: 134.9 kB / 1.498 GB, free: 3.852 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/1.168, allocations: 88.73 kB / 1.498 GB, free: 3.805 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006068/1.168, allocations: 298.8 kB / 1.499 GB, free: 3.5 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.168, allocations: 43.5 kB / 1.499 GB, free: 3.449 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/1.168, allocations: 0 / 1.499 GB, free: 3.449 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.0008012/1.169, allocations: 272.1 kB / 1.499 GB, free: 3.312 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/1.169, allocations: 57.56 kB / 1.499 GB, free: 3.246 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/1.169, allocations: 320 kB / 1.499 GB, free: 3.039 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/1.169, allocations: 30.95 kB / 1.499 GB, free: 3.004 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/1.17, allocations: 180.4 kB / 1.499 GB, free: 2.84 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/1.17, allocations: 54.44 kB / 1.499 GB, free: 2.793 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/1.17, allocations: 46.72 kB / 1.5 GB, free: 2.758 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001958/1.17, allocations: 338.2 kB / 1.5 GB, free: 2.426 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/1.17, allocations: 67.09 kB / 1.5 GB, free: 2.395 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/1.17, allocations: 124.9 kB / 1.5 GB, free: 2.301 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/1.171, allocations: 182.7 kB / 1.5 GB, free: 2.184 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.171, allocations: 5.188 kB / 1.5 GB, free: 2.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004958/1.171, allocations: 246 kB / 1.5 GB, free: 2.043 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.171, allocations: 5.344 kB / 1.5 GB, free: 2.043 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.171, allocations: 1.062 kB / 1.5 GB, free: 2.043 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.171, allocations: 7.266 kB / 1.5 GB, free: 2.039 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/1.171, allocations: 39.73 kB / 1.5 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.171, allocations: 6.594 kB / 1.5 GB, free: 2.027 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/1.172, allocations: 37.77 kB / 1.501 GB, free: 2 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/1.172, allocations: 11.94 kB / 1.501 GB, free: 1.996 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.0001473/1.172, allocations: 150.7 kB / 1.501 GB, free: 1.855 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/1.172, allocations: 34.02 kB / 1.501 GB, free: 1.836 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/1.172, allocations: 214.6 kB / 1.501 GB, free: 1.691 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.172, allocations: 7.984 kB / 1.501 GB, free: 1.684 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.172, allocations: 4 kB / 1.501 GB, free: 1.68 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.172, allocations: 0 / 1.501 GB, free: 1.68 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/1.173, allocations: 0.6874 MB / 1.502 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/1.173, allocations: 4 kB / 1.502 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/1.174, allocations: 31.98 kB / 1.502 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.174, allocations: 7.875 kB / 1.502 GB, free: 0.8711 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/1.174, allocations: 8 kB / 1.502 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/1.174, allocations: 7.984 kB / 1.502 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.174, allocations: 0 / 1.502 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/1.174, allocations: 435.7 kB / 1.502 GB, free: 404 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/1.174, allocations: 124.9 kB / 1.502 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/1.174, allocations: 11.94 kB / 1.502 GB, free: 248 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/1.175, allocations: 7.984 kB / 1.502 GB, free: 240 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/1.175, allocations: 15.98 kB / 1.502 GB, free: 224 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.175, allocations: 4 kB / 1.502 GB, free: 220 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002513/1.175, allocations: 231.2 kB / 1.502 GB, free: 15.98 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.175, allocations: 0 / 1.502 GB, free: 15.98 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004473/1.175, allocations: 79.94 kB / 1.503 GB, free: 15.91 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.0002925/1.176, allocations: 147 kB / 1.503 GB, free: 15.75 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004437/1.176, allocations: 163.9 kB / 1.503 GB, free: 15.59 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.176, allocations: 4.062 kB / 1.503 GB, free: 15.59 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/1.176, allocations: 83.83 kB / 1.503 GB, free: 15.51 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/1.177, allocations: 176.1 kB / 1.503 GB, free: 15.34 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/1.178, allocations: 0.6427 MB / 1.504 GB, free: 14.64 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/1.179, allocations: 0.7795 MB / 1.504 GB, free: 13.84 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.728e-05/1.179, allocations: 27.44 kB / 1.504 GB, free: 13.81 MB / 1.186 GB Notification: Performance of SimCode: time 3.31e-07/1.179, allocations: 0 / 1.504 GB, free: 13.81 MB / 1.186 GB Notification: Performance of Templates: time 0.007746/1.187, allocations: 4.845 MB / 1.509 GB, free: 9.016 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/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: 12.479568820999702]