Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001689/0.001689, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002205/0.002205, allocations: 200.2 kB / 22.17 MB, free: 5.207 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.533/1.533, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.88 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7997, allocations: 168.7 MB / 1.274 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2071/1.007, allocations: 168.1 MB / 1.438 GB, free: 11.77 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003143/1.01, allocations: 1.557 MB / 1.44 GB, free: 10.21 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000429/1.01, allocations: 11.94 kB / 1.44 GB, free: 10.2 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006189/1.011, allocations: 146.9 kB / 1.44 GB, free: 10.06 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/1.013, allocations: 0.7391 MB / 1.441 GB, free: 9.316 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/1.015, allocations: 0.6135 MB / 1.441 GB, free: 8.703 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001054/1.016, allocations: 0.709 MB / 1.442 GB, free: 7.988 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004607/1.016, allocations: 184.9 kB / 1.442 GB, free: 7.812 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007909/1.017, allocations: 350.6 kB / 1.442 GB, free: 7.469 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004225/1.018, allocations: 235.1 kB / 1.443 GB, free: 7.238 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/1.018, allocations: 24 kB / 1.443 GB, free: 7.215 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/1.02, allocations: 0.9273 MB / 1.444 GB, free: 6.285 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/1.02, allocations: 111.6 kB / 1.444 GB, free: 6.176 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002465/1.02, allocations: 167.2 kB / 1.444 GB, free: 6.012 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/1.021, allocations: 0.7153 MB / 1.445 GB, free: 5.297 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.021, allocations: 0 / 1.445 GB, free: 5.297 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.233e-06/1.021, allocations: 0 / 1.445 GB, free: 5.297 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.538e-05/1.021, allocations: 4 kB / 1.445 GB, free: 5.293 MB / 1.139 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.001201/1.023, allocations: 0.6654 MB / 1.445 GB, free: 4.578 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.023, allocations: 8.031 kB / 1.445 GB, free: 4.57 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/1.024, allocations: 155.6 kB / 1.445 GB, free: 4.418 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/1.025, allocations: 321.9 kB / 1.446 GB, free: 4.062 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/1.025, allocations: 20.44 kB / 1.446 GB, free: 4.043 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/1.025, allocations: 16 kB / 1.446 GB, free: 4.027 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/1.025, allocations: 283.4 kB / 1.446 GB, free: 3.73 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.025, allocations: 4 kB / 1.446 GB, free: 3.727 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/1.025, allocations: 12 kB / 1.446 GB, free: 3.715 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.025, allocations: 4 kB / 1.446 GB, free: 3.711 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/1.026, allocations: 195.8 kB / 1.446 GB, free: 3.52 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/1.027, allocations: 1.209 MB / 1.447 GB, free: 2.207 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/1.028, allocations: 126.5 kB / 1.447 GB, free: 2.074 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/1.028, allocations: 88.8 kB / 1.448 GB, free: 1.984 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000617/1.028, allocations: 299.2 kB / 1.448 GB, free: 1.637 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/1.029, allocations: 42.78 kB / 1.448 GB, free: 1.586 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 3.557e-06/1.029, allocations: 4 kB / 1.448 GB, free: 1.582 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0008495/1.029, allocations: 279.5 kB / 1.448 GB, free: 1.305 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/1.029, allocations: 55.41 kB / 1.448 GB, free: 1.238 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/1.03, allocations: 316.5 kB / 1.448 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/1.03, allocations: 29.7 kB / 1.449 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/1.03, allocations: 180.3 kB / 1.449 GB, free: 0.707 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/1.03, allocations: 63.48 kB / 1.449 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/1.03, allocations: 41.7 kB / 1.449 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.03, allocations: 342.8 kB / 1.449 GB, free: 260 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/1.03, allocations: 63.95 kB / 1.449 GB, free: 196 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/1.031, allocations: 131.6 kB / 1.449 GB, free: 48 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/1.031, allocations: 190.2 kB / 1.449 GB, free: 15.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.031, allocations: 0 / 1.449 GB, free: 15.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005347/1.032, allocations: 245.3 kB / 1.45 GB, free: 15.6 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.032, allocations: 4 kB / 1.45 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.032, allocations: 4 kB / 1.45 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.032, allocations: 3.938 kB / 1.45 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/1.032, allocations: 39.97 kB / 1.45 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/1.032, allocations: 7.938 kB / 1.45 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/1.032, allocations: 35.77 kB / 1.45 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/1.032, allocations: 12.09 kB / 1.45 GB, free: 15.49 MB / 1.154 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.0001678/1.032, allocations: 153.8 kB / 1.45 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/1.032, allocations: 27.81 kB / 1.45 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005126/1.033, allocations: 220.3 kB / 1.45 GB, free: 15.08 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.033, allocations: 0 / 1.45 GB, free: 15.08 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.033, allocations: 0 / 1.45 GB, free: 15.08 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.033, allocations: 3.984 kB / 1.45 GB, free: 15.08 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/1.034, allocations: 0.6915 MB / 1.451 GB, free: 14.31 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.034, allocations: 0 / 1.451 GB, free: 14.31 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/1.034, allocations: 31.92 kB / 1.451 GB, free: 14.28 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/1.034, allocations: 7.938 kB / 1.451 GB, free: 14.27 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/1.034, allocations: 4 kB / 1.451 GB, free: 14.27 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.034, allocations: 0 / 1.451 GB, free: 14.27 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/1.034, allocations: 4 kB / 1.451 GB, free: 14.26 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/1.035, allocations: 433.2 kB / 1.451 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/1.035, allocations: 128.9 kB / 1.451 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/1.035, allocations: 11.94 kB / 1.451 GB, free: 13.64 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/1.035, allocations: 4 kB / 1.451 GB, free: 13.64 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/1.036, allocations: 19.92 kB / 1.452 GB, free: 13.62 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/1.036, allocations: 11.98 kB / 1.452 GB, free: 13.61 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002508/1.036, allocations: 219.1 kB / 1.452 GB, free: 13.39 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.036, allocations: 0 / 1.452 GB, free: 13.39 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004372/1.036, allocations: 91.81 kB / 1.452 GB, free: 13.3 MB / 1.154 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.000428/1.037, allocations: 171.1 kB / 1.452 GB, free: 13.14 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004733/1.037, allocations: 167.9 kB / 1.452 GB, free: 12.98 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.037, allocations: 4.062 kB / 1.452 GB, free: 12.97 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/1.037, allocations: 87.77 kB / 1.452 GB, free: 12.89 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009432/1.038, allocations: 161.4 kB / 1.452 GB, free: 12.73 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/1.04, allocations: 0.6188 MB / 1.453 GB, free: 12.06 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/1.04, allocations: 0.7756 MB / 1.454 GB, free: 11.26 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002259/1.04, allocations: 70.92 kB / 1.454 GB, free: 11.19 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/1.04, allocations: 23.44 kB / 1.454 GB, free: 11.16 MB / 1.154 GB Notification: Performance of SimCode: time 4.01e-07/1.04, allocations: 0 / 1.454 GB, free: 11.16 MB / 1.154 GB Notification: Performance of Templates: time 0.01275/1.053, allocations: 5.855 MB / 1.46 GB, free: 5.402 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.08245298359543]