Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002099/0.002099, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002504/0.002504, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.668/1.668, allocations: 177.1 MB / 203.1 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.449/3.449, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 1.203 kB / 0.8775 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.045e-05, allocations: 5.547 kB / 0.8775 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2401/0.2401, allocations: 163.6 MB / 1.037 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003318/0.2434, allocations: 1.554 MB / 1.039 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.2438, allocations: 19.81 kB / 1.039 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.2444, allocations: 162.8 kB / 1.039 GB, free: 0.7891 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.2465, allocations: 0.6995 MB / 1.04 GB, free: 88 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.2484, allocations: 0.654 MB / 1.04 GB, free: 15.43 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2495, allocations: 0.6893 MB / 1.041 GB, free: 14.73 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.2499, allocations: 181.4 kB / 1.041 GB, free: 14.56 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.2511, allocations: 0.5802 MB / 1.042 GB, free: 13.98 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.2516, allocations: 199.4 kB / 1.042 GB, free: 13.78 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.2516, allocations: 20 kB / 1.042 GB, free: 13.76 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.2531, allocations: 0.7126 MB / 1.043 GB, free: 13.05 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.2533, allocations: 123.6 kB / 1.043 GB, free: 12.93 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.2535, allocations: 115.8 kB / 1.043 GB, free: 12.81 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.2547, allocations: 0.736 MB / 1.043 GB, free: 12.07 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2547, allocations: 8 kB / 1.044 GB, free: 12.07 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2547, allocations: 0 / 1.044 GB, free: 12.07 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2548, allocations: 0 / 1.044 GB, free: 12.07 MB / 1.01 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.001109/0.2559, allocations: 0.6858 MB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2559, allocations: 8.031 kB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.2571, allocations: 211.2 kB / 1.044 GB, free: 11.13 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.2577, allocations: 263.4 kB / 1.045 GB, free: 10.85 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.2577, allocations: 16.5 kB / 1.045 GB, free: 10.83 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.2577, allocations: 24 kB / 1.045 GB, free: 10.81 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.2582, allocations: 262.4 kB / 1.045 GB, free: 10.53 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2583, allocations: 0 / 1.045 GB, free: 10.53 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.2583, allocations: 8 kB / 1.045 GB, free: 10.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.2583, allocations: 11.94 kB / 1.045 GB, free: 10.51 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.2587, allocations: 139.8 kB / 1.045 GB, free: 10.37 MB / 1.01 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.001689/0.2604, allocations: 1.195 MB / 1.046 GB, free: 9.121 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.2606, allocations: 119 kB / 1.046 GB, free: 8.992 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2608, allocations: 63.66 kB / 1.046 GB, free: 8.926 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004516/0.2612, allocations: 63.92 kB / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.2613, allocations: 41.39 kB / 1.047 GB, free: 8.812 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2613, allocations: 4 kB / 1.047 GB, free: 8.809 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.0007229/0.262, allocations: 228.6 kB / 1.047 GB, free: 8.582 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.2621, allocations: 55.34 kB / 1.047 GB, free: 8.516 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.2624, allocations: 328.2 kB / 1.047 GB, free: 8.176 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.2624, allocations: 29.7 kB / 1.047 GB, free: 8.141 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.2626, allocations: 235 kB / 1.047 GB, free: 7.906 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.2627, allocations: 59.53 kB / 1.047 GB, free: 7.848 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.439e-05/0.2628, allocations: 51.36 kB / 1.047 GB, free: 7.789 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002969/0.2631, allocations: 0.5196 MB / 1.048 GB, free: 7.258 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2632, allocations: 47.97 kB / 1.048 GB, free: 7.211 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.2635, allocations: 200.5 kB / 1.048 GB, free: 6.973 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.2638, allocations: 180.6 kB / 1.048 GB, free: 6.773 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.2638, allocations: 4 kB / 1.048 GB, free: 6.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004338/0.2643, allocations: 209.3 kB / 1.049 GB, free: 6.559 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2643, allocations: 4 kB / 1.049 GB, free: 6.555 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2643, allocations: 4 kB / 1.049 GB, free: 6.551 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2643, allocations: 0 / 1.049 GB, free: 6.551 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.2645, allocations: 39.92 kB / 1.049 GB, free: 6.512 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.2645, allocations: 7.984 kB / 1.049 GB, free: 6.504 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.2647, allocations: 23.84 kB / 1.049 GB, free: 6.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.2647, allocations: 4 kB / 1.049 GB, free: 6.477 MB / 1.01 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.0004225/0.2651, allocations: 188.5 kB / 1.049 GB, free: 6.281 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.2652, allocations: 35.86 kB / 1.049 GB, free: 6.246 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004345/0.2656, allocations: 171.3 kB / 1.049 GB, free: 6.074 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2656, allocations: 4 kB / 1.049 GB, free: 6.07 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2656, allocations: 0 / 1.049 GB, free: 6.07 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2656, allocations: 0 / 1.049 GB, free: 6.07 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.2668, allocations: 0.6591 MB / 1.05 GB, free: 5.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.2668, allocations: 4 kB / 1.05 GB, free: 5.336 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.267, allocations: 27.92 kB / 1.05 GB, free: 5.309 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.267, allocations: 4 kB / 1.05 GB, free: 5.305 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.267, allocations: 4 kB / 1.05 GB, free: 5.301 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.267, allocations: 8 kB / 1.05 GB, free: 5.293 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.267, allocations: 3.938 kB / 1.05 GB, free: 5.289 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.2677, allocations: 437.4 kB / 1.05 GB, free: 4.812 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.2678, allocations: 43.84 kB / 1.05 GB, free: 4.77 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.2678, allocations: 3.984 kB / 1.05 GB, free: 4.766 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.268, allocations: 8.141 kB / 1.05 GB, free: 4.758 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.268, allocations: 27.84 kB / 1.05 GB, free: 4.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.268, allocations: 4 kB / 1.05 GB, free: 4.727 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000218/0.2683, allocations: 221.1 kB / 1.05 GB, free: 4.512 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.2683, allocations: 0 / 1.05 GB, free: 4.512 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004338/0.2687, allocations: 95.78 kB / 1.051 GB, free: 4.418 MB / 1.01 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.0003297/0.269, allocations: 155 kB / 1.051 GB, free: 4.258 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004096/0.2694, allocations: 151.4 kB / 1.051 GB, free: 4.105 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2694, allocations: 0 / 1.051 GB, free: 4.105 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.2696, allocations: 78.83 kB / 1.051 GB, free: 4.027 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/0.2703, allocations: 117.8 kB / 1.051 GB, free: 3.914 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.2714, allocations: 0.567 MB / 1.052 GB, free: 3.281 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.2716, allocations: 162.8 kB / 1.052 GB, free: 3.102 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.2718, allocations: 42.25 kB / 1.052 GB, free: 3.062 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.2719, allocations: 28.5 kB / 1.052 GB, free: 3.035 MB / 1.01 GB Notification: Performance of SimCode: time 4.21e-07/0.2719, allocations: 0 / 1.052 GB, free: 3.035 MB / 1.01 GB Notification: Performance of Templates: time 0.4301/0.7019, allocations: 4.719 MB / 1.056 GB, free: 221.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.651200033957139]