Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002248/0.002248, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.003196/0.003196, allocations: 186 kB / 20.78 MB, free: 1.547 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.471/1.471, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 71.89 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3758, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.9252/1.301, allocations: 168.1 MB / 1.38 GB, free: 9.777 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003534/1.305, allocations: 1.559 MB / 1.382 GB, free: 8.684 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007084/1.305, allocations: 14.91 kB / 1.382 GB, free: 8.676 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000705/1.306, allocations: 155.5 kB / 1.382 GB, free: 8.574 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/1.308, allocations: 0.7358 MB / 1.383 GB, free: 8.188 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/1.31, allocations: 0.6058 MB / 1.383 GB, free: 7.887 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001188/1.311, allocations: 0.7034 MB / 1.384 GB, free: 7.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005134/1.312, allocations: 182.7 kB / 1.384 GB, free: 7.488 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008981/1.313, allocations: 351.2 kB / 1.384 GB, free: 7.336 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/1.313, allocations: 230.3 kB / 1.385 GB, free: 7.242 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/1.313, allocations: 23.31 kB / 1.385 GB, free: 7.242 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/1.315, allocations: 0.9317 MB / 1.386 GB, free: 6.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/1.316, allocations: 113.7 kB / 1.386 GB, free: 6.742 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000312/1.316, allocations: 171.3 kB / 1.386 GB, free: 6.637 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/1.317, allocations: 0.7173 MB / 1.387 GB, free: 6.219 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.317, allocations: 0.9062 kB / 1.387 GB, free: 6.219 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/1.317, allocations: 0 / 1.387 GB, free: 6.219 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.486e-05/1.317, allocations: 0 / 1.387 GB, free: 6.219 MB / 1.061 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.00132/1.319, allocations: 0.6523 MB / 1.387 GB, free: 5.637 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/1.319, allocations: 9.312 kB / 1.387 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/1.32, allocations: 163.7 kB / 1.387 GB, free: 5.555 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/1.321, allocations: 318.8 kB / 1.388 GB, free: 5.254 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/1.321, allocations: 21.31 kB / 1.388 GB, free: 5.242 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/1.321, allocations: 26.44 kB / 1.388 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/1.321, allocations: 275.1 kB / 1.388 GB, free: 5.047 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.321, allocations: 3.938 kB / 1.388 GB, free: 5.043 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/1.321, allocations: 10.75 kB / 1.388 GB, free: 5.035 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.321, allocations: 5.656 kB / 1.388 GB, free: 5.035 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/1.322, allocations: 201.5 kB / 1.388 GB, free: 4.941 MB / 1.061 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.00172/1.323, allocations: 1.204 MB / 1.389 GB, free: 3.828 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/1.324, allocations: 127.1 kB / 1.39 GB, free: 3.754 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/1.324, allocations: 84.33 kB / 1.39 GB, free: 3.711 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006494/1.325, allocations: 306.7 kB / 1.39 GB, free: 3.398 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/1.325, allocations: 35.69 kB / 1.39 GB, free: 3.355 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/1.325, allocations: 0 / 1.39 GB, free: 3.355 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0008309/1.326, allocations: 289.9 kB / 1.39 GB, free: 3.203 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/1.326, allocations: 57.62 kB / 1.39 GB, free: 3.137 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/1.326, allocations: 311.3 kB / 1.391 GB, free: 2.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/1.326, allocations: 27.14 kB / 1.391 GB, free: 2.898 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/1.326, allocations: 185 kB / 1.391 GB, free: 2.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/1.326, allocations: 62.5 kB / 1.391 GB, free: 2.676 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/1.326, allocations: 42.5 kB / 1.391 GB, free: 2.645 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.326, allocations: 341.2 kB / 1.391 GB, free: 2.309 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/1.327, allocations: 67.61 kB / 1.391 GB, free: 2.277 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/1.327, allocations: 121 kB / 1.391 GB, free: 2.188 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/1.327, allocations: 200 kB / 1.392 GB, free: 2.055 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.327, allocations: 0.9375 kB / 1.392 GB, free: 2.055 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000518/1.328, allocations: 241.7 kB / 1.392 GB, free: 1.922 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.328, allocations: 5.75 kB / 1.392 GB, free: 1.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.328, allocations: 2.438 kB / 1.392 GB, free: 1.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.328, allocations: 1.438 kB / 1.392 GB, free: 1.922 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/1.328, allocations: 41.42 kB / 1.392 GB, free: 1.914 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.328, allocations: 5.062 kB / 1.392 GB, free: 1.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/1.328, allocations: 31.58 kB / 1.392 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/1.328, allocations: 14.73 kB / 1.392 GB, free: 1.883 MB / 1.061 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.0001566/1.328, allocations: 152.2 kB / 1.392 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/1.329, allocations: 29.25 kB / 1.392 GB, free: 1.727 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/1.329, allocations: 223.6 kB / 1.392 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.329, allocations: 1.344 kB / 1.392 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.329, allocations: 1.062 kB / 1.392 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.329, allocations: 0 / 1.392 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/1.33, allocations: 0.6807 MB / 1.393 GB, free: 1.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.33, allocations: 2.25 kB / 1.393 GB, free: 1.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/1.33, allocations: 40.62 kB / 1.393 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.33, allocations: 2.781 kB / 1.393 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/1.33, allocations: 11.12 kB / 1.393 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.33, allocations: 2.75 kB / 1.393 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.33, allocations: 2.875 kB / 1.393 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/1.331, allocations: 435.5 kB / 1.393 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/1.331, allocations: 123.3 kB / 1.394 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/1.331, allocations: 7.031 kB / 1.394 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/1.331, allocations: 18.58 kB / 1.394 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/1.331, allocations: 14.2 kB / 1.394 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/1.331, allocations: 8.688 kB / 1.394 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002467/1.332, allocations: 231.6 kB / 1.394 GB, free: 372 kB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.332, allocations: 0 / 1.394 GB, free: 372 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004139/1.332, allocations: 74.34 kB / 1.394 GB, free: 364 kB / 1.061 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.0004437/1.333, allocations: 170.1 kB / 1.394 GB, free: 232 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004299/1.333, allocations: 160 kB / 1.394 GB, free: 164 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.333, allocations: 0 / 1.394 GB, free: 164 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/1.333, allocations: 93.61 kB / 1.394 GB, free: 116 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008616/1.334, allocations: 165.6 kB / 1.394 GB, free: 36 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/1.335, allocations: 0.6168 MB / 1.395 GB, free: 15.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/1.336, allocations: 0.7795 MB / 1.396 GB, free: 14.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002256/1.336, allocations: 63.83 kB / 1.396 GB, free: 14.81 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/1.336, allocations: 28.19 kB / 1.396 GB, free: 14.8 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/1.336, allocations: 0 / 1.396 GB, free: 14.8 MB / 1.076 GB Notification: Performance of Templates: time 0.01293/1.349, allocations: 5.877 MB / 1.402 GB, free: 11.9 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.518461066298187]