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.001574/0.001574, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.002019/0.002019, allocations: 163.6 kB / 22.46 MB, free: 5.359 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.509/1.509, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.735/2.735, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.476e-05, allocations: 4.391 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2066/0.2067, allocations: 147.6 MB / 1.095 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.2098, allocations: 1.488 MB / 1.097 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.2102, allocations: 19.81 kB / 1.097 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.2108, allocations: 154.8 kB / 1.097 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.2128, allocations: 0.7228 MB / 1.097 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.2147, allocations: 0.659 MB / 1.098 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2157, allocations: 0.7049 MB / 1.099 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.2161, allocations: 189.1 kB / 1.099 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007814/0.2169, allocations: 430.7 kB / 1.099 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.2172, allocations: 199.4 kB / 1.1 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.2172, allocations: 20 kB / 1.1 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.2186, allocations: 0.7358 MB / 1.1 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.2187, allocations: 115.6 kB / 1.1 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.2189, allocations: 115.8 kB / 1.1 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.22, allocations: 0.7285 MB / 1.101 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.22, allocations: 0 / 1.101 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.22, allocations: 0 / 1.101 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.22, allocations: 3.938 kB / 1.101 GB, free: 1.176 MB / 0.9981 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.0009935/0.221, allocations: 0.5785 MB / 1.102 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2211, allocations: 8.031 kB / 1.102 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.2223, allocations: 155.6 kB / 1.102 GB, free: 416 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.2228, allocations: 268.5 kB / 1.102 GB, free: 124 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.2228, allocations: 20.5 kB / 1.102 GB, free: 100 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.2229, allocations: 16 kB / 1.102 GB, free: 84 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6025/0.8254, allocations: 278 kB / 1.102 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.8254, allocations: 0.75 kB / 1.102 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.8255, allocations: 10.19 kB / 1.102 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.8255, allocations: 8.188 kB / 1.102 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.826, allocations: 191.4 kB / 1.103 GB, free: 164.4 MB / 0.9981 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.00141/0.8274, allocations: 0.9218 MB / 1.104 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.8277, allocations: 129.7 kB / 1.104 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.8279, allocations: 87.92 kB / 1.104 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/0.8284, allocations: 73.38 kB / 1.104 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.8285, allocations: 39.42 kB / 1.104 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.8285, allocations: 0.5938 kB / 1.104 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0009175/0.8294, allocations: 275.1 kB / 1.104 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.8294, allocations: 55.47 kB / 1.104 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.8297, allocations: 250.4 kB / 1.104 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.8297, allocations: 26.7 kB / 1.104 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.8299, allocations: 187.4 kB / 1.105 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.8299, allocations: 52.67 kB / 1.105 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.83, allocations: 42.84 kB / 1.105 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.8301, allocations: 337.9 kB / 1.105 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.8303, allocations: 63.34 kB / 1.105 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.8305, allocations: 201.8 kB / 1.105 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.8309, allocations: 194.9 kB / 1.106 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8309, allocations: 0.7812 kB / 1.106 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000514/0.8314, allocations: 238.6 kB / 1.106 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.8314, allocations: 5.891 kB / 1.106 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.8314, allocations: 3.828 kB / 1.106 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.8315, allocations: 3.266 kB / 1.106 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.8317, allocations: 38.48 kB / 1.106 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.8317, allocations: 6.75 kB / 1.106 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.8319, allocations: 28.22 kB / 1.106 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.8319, allocations: 11.98 kB / 1.106 GB, free: 162.4 MB / 0.9981 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.0001376/0.8321, allocations: 157.8 kB / 1.106 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.8321, allocations: 23.94 kB / 1.106 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.8326, allocations: 220.7 kB / 1.106 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.8326, allocations: 2.859 kB / 1.106 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8326, allocations: 0 / 1.106 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.8326, allocations: 6.266 kB / 1.106 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.8336, allocations: 0.5992 MB / 1.107 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.8336, allocations: 2.828 kB / 1.107 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.8338, allocations: 33.44 kB / 1.107 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.8338, allocations: 2.531 kB / 1.107 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.8339, allocations: 12.03 kB / 1.107 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.8339, allocations: 7.672 kB / 1.107 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8339, allocations: 1.594 kB / 1.107 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.8346, allocations: 422.2 kB / 1.107 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.699e-05/0.8347, allocations: 36.39 kB / 1.107 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.8347, allocations: 11.91 kB / 1.107 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.8349, allocations: 8.234 kB / 1.107 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.835, allocations: 23.28 kB / 1.107 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.835, allocations: 5.75 kB / 1.107 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001708/0.8352, allocations: 175.1 kB / 1.108 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8352, allocations: 0 / 1.108 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004599/0.8356, allocations: 91.14 kB / 1.108 GB, free: 161.3 MB / 0.9981 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.0003105/0.8359, allocations: 154.1 kB / 1.108 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004989/0.8364, allocations: 162.5 kB / 1.108 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8364, allocations: 0.875 kB / 1.108 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.8366, allocations: 89.45 kB / 1.108 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/0.8375, allocations: 131.1 kB / 1.108 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009719/0.8384, allocations: 0.543 MB / 1.109 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.8386, allocations: 172.1 kB / 1.109 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.8388, allocations: 60.14 kB / 1.109 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.8389, allocations: 22.5 kB / 1.109 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.8389, allocations: 1 kB / 1.109 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.01242/0.8513, allocations: 4.742 MB / 1.114 GB, free: 160.2 MB / 0.9981 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 -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/jenkins/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.159389324486256]