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.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.001421/0.001421, allocations: 77.86 kB / 19.76 MB, free: 2.035 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.001463/0.001463, allocations: 157 kB / 23.01 MB, free: 4.941 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.663/2.663, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002222/0.002222, allocations: 59.91 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3737, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7575/1.131, allocations: 147.6 MB / 1.262 GB, free: 12.59 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003409/1.135, allocations: 1.484 MB / 1.263 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004747/1.135, allocations: 19.41 kB / 1.263 GB, free: 11.56 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005976/1.136, allocations: 148.4 kB / 1.263 GB, free: 11.47 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001934/1.138, allocations: 0.7009 MB / 1.264 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/1.14, allocations: 0.6165 MB / 1.265 GB, free: 10.82 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001021/1.141, allocations: 0.7175 MB / 1.265 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/1.141, allocations: 189.2 kB / 1.265 GB, free: 10.4 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006959/1.142, allocations: 360.5 kB / 1.266 GB, free: 10.24 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/1.142, allocations: 223.6 kB / 1.266 GB, free: 10.16 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/1.142, allocations: 21.72 kB / 1.266 GB, free: 10.16 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/1.144, allocations: 0.7131 MB / 1.267 GB, free: 9.895 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/1.144, allocations: 117.5 kB / 1.267 GB, free: 9.84 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/1.144, allocations: 143.3 kB / 1.267 GB, free: 9.77 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/1.145, allocations: 0.6867 MB / 1.268 GB, free: 9.551 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.145, allocations: 4.656 kB / 1.268 GB, free: 9.547 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.014e-06/1.145, allocations: 1.062 kB / 1.268 GB, free: 9.547 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.145, allocations: 0 / 1.268 GB, free: 9.547 MB / 1.123 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.001062/1.146, allocations: 0.5862 MB / 1.268 GB, free: 9.09 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/1.146, allocations: 9.969 kB / 1.268 GB, free: 9.09 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/1.147, allocations: 155.4 kB / 1.268 GB, free: 9.059 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/1.148, allocations: 259.6 kB / 1.269 GB, free: 8.863 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/1.148, allocations: 17.34 kB / 1.269 GB, free: 8.855 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/1.148, allocations: 22.78 kB / 1.269 GB, free: 8.848 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/1.149, allocations: 286.4 kB / 1.269 GB, free: 8.695 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.149, allocations: 1.062 kB / 1.269 GB, free: 8.695 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/1.149, allocations: 10.28 kB / 1.269 GB, free: 8.688 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.149, allocations: 5.562 kB / 1.269 GB, free: 8.688 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/1.149, allocations: 194.3 kB / 1.269 GB, free: 8.633 MB / 1.123 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.00139/1.15, allocations: 0.9139 MB / 1.27 GB, free: 7.934 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/1.151, allocations: 131 kB / 1.27 GB, free: 7.875 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/1.151, allocations: 87.28 kB / 1.27 GB, free: 7.844 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00047/1.151, allocations: 71.5 kB / 1.27 GB, free: 7.84 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/1.151, allocations: 40.48 kB / 1.27 GB, free: 7.793 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/1.151, allocations: 0 / 1.27 GB, free: 7.793 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.0007878/1.152, allocations: 279.6 kB / 1.271 GB, free: 7.688 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/1.152, allocations: 54.27 kB / 1.271 GB, free: 7.625 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/1.153, allocations: 249.4 kB / 1.271 GB, free: 7.473 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/1.153, allocations: 28.33 kB / 1.271 GB, free: 7.441 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/1.153, allocations: 188.5 kB / 1.271 GB, free: 7.281 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/1.153, allocations: 62.36 kB / 1.271 GB, free: 7.23 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/1.153, allocations: 46.81 kB / 1.271 GB, free: 7.199 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.153, allocations: 336.8 kB / 1.271 GB, free: 6.875 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/1.153, allocations: 62.66 kB / 1.272 GB, free: 6.859 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/1.154, allocations: 197 kB / 1.272 GB, free: 6.695 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/1.154, allocations: 200.5 kB / 1.272 GB, free: 6.582 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.154, allocations: 0 / 1.272 GB, free: 6.582 MB / 1.123 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004788/1.154, allocations: 235.9 kB / 1.272 GB, free: 6.48 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.154, allocations: 9.156 kB / 1.272 GB, free: 6.477 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.154, allocations: 1.969 kB / 1.272 GB, free: 6.477 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.154, allocations: 2.656 kB / 1.272 GB, free: 6.477 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/1.155, allocations: 41.47 kB / 1.272 GB, free: 6.477 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.155, allocations: 12.38 kB / 1.272 GB, free: 6.469 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/1.155, allocations: 23.14 kB / 1.272 GB, free: 6.457 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/1.155, allocations: 8.781 kB / 1.272 GB, free: 6.457 MB / 1.123 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.0001666/1.155, allocations: 152.8 kB / 1.272 GB, free: 6.32 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/1.155, allocations: 27.7 kB / 1.272 GB, free: 6.305 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004749/1.156, allocations: 208.8 kB / 1.273 GB, free: 6.219 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.156, allocations: 2.109 kB / 1.273 GB, free: 6.219 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.156, allocations: 5.312 kB / 1.273 GB, free: 6.215 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.156, allocations: 0.7969 kB / 1.273 GB, free: 6.215 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/1.157, allocations: 0.5959 MB / 1.273 GB, free: 5.809 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.157, allocations: 3.484 kB / 1.273 GB, free: 5.809 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/1.157, allocations: 34.97 kB / 1.273 GB, free: 5.805 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.157, allocations: 6.344 kB / 1.273 GB, free: 5.801 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.157, allocations: 8.688 kB / 1.273 GB, free: 5.797 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/1.157, allocations: 7.156 kB / 1.273 GB, free: 5.793 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.157, allocations: 2.469 kB / 1.273 GB, free: 5.793 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007105/1.158, allocations: 430.5 kB / 1.274 GB, free: 5.516 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/1.158, allocations: 33.8 kB / 1.274 GB, free: 5.5 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/1.158, allocations: 7.891 kB / 1.274 GB, free: 5.496 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/1.158, allocations: 16.98 kB / 1.274 GB, free: 5.488 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/1.158, allocations: 18.78 kB / 1.274 GB, free: 5.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/1.158, allocations: 5.922 kB / 1.274 GB, free: 5.48 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001809/1.158, allocations: 179.5 kB / 1.274 GB, free: 5.379 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.158, allocations: 0 / 1.274 GB, free: 5.379 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004285/1.159, allocations: 83.31 kB / 1.274 GB, free: 5.363 MB / 1.123 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.0002774/1.159, allocations: 145.4 kB / 1.274 GB, free: 5.258 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004529/1.159, allocations: 166.9 kB / 1.274 GB, free: 5.211 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.159, allocations: 3.938 kB / 1.274 GB, free: 5.207 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/1.159, allocations: 83 kB / 1.274 GB, free: 5.184 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/1.16, allocations: 130.1 kB / 1.275 GB, free: 5.145 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/1.161, allocations: 0.5977 MB / 1.275 GB, free: 4.742 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/1.161, allocations: 170.2 kB / 1.275 GB, free: 4.66 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001764/1.162, allocations: 57.78 kB / 1.275 GB, free: 4.641 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/1.162, allocations: 26.88 kB / 1.275 GB, free: 4.629 MB / 1.123 GB Notification: Performance of SimCode: time 4.51e-07/1.162, allocations: 0 / 1.275 GB, free: 4.629 MB / 1.123 GB Notification: Performance of Templates: time 0.01087/1.173, allocations: 4.761 MB / 1.28 GB, free: 4.125 MB / 1.123 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 ida -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/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.011405606055632]