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.001516/0.001516, allocations: 118.4 kB / 17.13 MB, free: 5.918 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.001513/0.001513, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.458/1.458, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.653/2.653, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] 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.002141/0.002141, allocations: 67.89 kB / 1.057 GB, free: 2 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 160.7 MB / 1.214 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 1.014/1.359, allocations: 167.9 MB / 1.378 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003246/1.362, allocations: 1.555 MB / 1.38 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005235/1.363, allocations: 11.12 kB / 1.38 GB, free: 9.941 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005258/1.363, allocations: 154.7 kB / 1.38 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/1.365, allocations: 0.7325 MB / 1.38 GB, free: 9.457 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/1.367, allocations: 0.602 MB / 1.381 GB, free: 9.164 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001166/1.368, allocations: 0.7104 MB / 1.382 GB, free: 8.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/1.369, allocations: 196.4 kB / 1.382 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/1.37, allocations: 342.1 kB / 1.382 GB, free: 8.613 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/1.37, allocations: 234.8 kB / 1.382 GB, free: 8.516 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/1.37, allocations: 26.17 kB / 1.382 GB, free: 8.512 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/1.372, allocations: 0.9248 MB / 1.383 GB, free: 8.145 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/1.373, allocations: 118.6 kB / 1.383 GB, free: 8.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/1.373, allocations: 158.8 kB / 1.384 GB, free: 8.004 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/1.374, allocations: 0.7262 MB / 1.384 GB, free: 7.645 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.374, allocations: 0 / 1.384 GB, free: 7.645 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/1.374, allocations: 1.281 kB / 1.384 GB, free: 7.645 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.374, allocations: 0 / 1.384 GB, free: 7.645 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.001136/1.376, allocations: 0.655 MB / 1.385 GB, free: 7.059 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/1.376, allocations: 9.438 kB / 1.385 GB, free: 7.059 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/1.377, allocations: 160.5 kB / 1.385 GB, free: 6.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/1.377, allocations: 329.1 kB / 1.385 GB, free: 6.668 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/1.378, allocations: 14.31 kB / 1.385 GB, free: 6.664 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/1.378, allocations: 23.16 kB / 1.386 GB, free: 6.656 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005617/1.378, allocations: 275 kB / 1.386 GB, free: 6.473 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/1.378, allocations: 11.88 kB / 1.386 GB, free: 6.461 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/1.378, allocations: 6.188 kB / 1.386 GB, free: 6.457 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.378, allocations: 7.219 kB / 1.386 GB, free: 6.457 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/1.379, allocations: 199.7 kB / 1.386 GB, free: 6.363 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.001822/1.38, allocations: 1.205 MB / 1.387 GB, free: 5.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/1.381, allocations: 138.3 kB / 1.387 GB, free: 5.164 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/1.381, allocations: 80.53 kB / 1.387 GB, free: 5.125 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/1.382, allocations: 307.2 kB / 1.388 GB, free: 4.812 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/1.382, allocations: 40.41 kB / 1.388 GB, free: 4.766 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/1.382, allocations: 0 / 1.388 GB, free: 4.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0008618/1.383, allocations: 282.5 kB / 1.388 GB, free: 4.621 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.383, allocations: 52.56 kB / 1.388 GB, free: 4.559 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/1.383, allocations: 311.8 kB / 1.388 GB, free: 4.355 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/1.383, allocations: 31.23 kB / 1.388 GB, free: 4.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/1.383, allocations: 188.9 kB / 1.389 GB, free: 4.148 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/1.383, allocations: 54.08 kB / 1.389 GB, free: 4.102 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.383, allocations: 58.3 kB / 1.389 GB, free: 4.055 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.384, allocations: 338.8 kB / 1.389 GB, free: 3.723 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/1.384, allocations: 63.17 kB / 1.389 GB, free: 3.695 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/1.384, allocations: 125.4 kB / 1.389 GB, free: 3.602 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/1.384, allocations: 188.2 kB / 1.389 GB, free: 3.477 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/1.384, allocations: 4 kB / 1.389 GB, free: 3.473 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005249/1.385, allocations: 234.4 kB / 1.39 GB, free: 3.348 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.385, allocations: 6.125 kB / 1.39 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.385, allocations: 1.594 kB / 1.39 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.385, allocations: 2.312 kB / 1.39 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/1.385, allocations: 48 kB / 1.39 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.385, allocations: 3.062 kB / 1.39 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/1.385, allocations: 39.19 kB / 1.39 GB, free: 3.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/1.385, allocations: 8.031 kB / 1.39 GB, free: 3.305 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.0001795/1.386, allocations: 150.5 kB / 1.39 GB, free: 3.164 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/1.386, allocations: 38.64 kB / 1.39 GB, free: 3.141 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005411/1.386, allocations: 217.6 kB / 1.39 GB, free: 3.008 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.386, allocations: 2.344 kB / 1.39 GB, free: 3.008 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.386, allocations: 4 kB / 1.39 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.386, allocations: 0 / 1.39 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/1.387, allocations: 0.6873 MB / 1.391 GB, free: 2.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.387, allocations: 5.359 kB / 1.391 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/1.388, allocations: 32.3 kB / 1.391 GB, free: 2.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.388, allocations: 3.188 kB / 1.391 GB, free: 2.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/1.388, allocations: 7.25 kB / 1.391 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.388, allocations: 6.062 kB / 1.391 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.388, allocations: 2.125 kB / 1.391 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/1.388, allocations: 442.3 kB / 1.391 GB, free: 2.074 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/1.389, allocations: 122.9 kB / 1.391 GB, free: 1.949 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/1.389, allocations: 11.27 kB / 1.391 GB, free: 1.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/1.389, allocations: 9.844 kB / 1.391 GB, free: 1.938 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/1.389, allocations: 14.2 kB / 1.391 GB, free: 1.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/1.389, allocations: 7.062 kB / 1.391 GB, free: 1.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002667/1.389, allocations: 226.8 kB / 1.392 GB, free: 1.785 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.389, allocations: 8 kB / 1.392 GB, free: 1.777 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004661/1.39, allocations: 78.48 kB / 1.392 GB, free: 1.766 MB / 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.0005343/1.39, allocations: 167 kB / 1.392 GB, free: 1.645 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005805/1.391, allocations: 171.5 kB / 1.392 GB, free: 1.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/1.391, allocations: 0 / 1.392 GB, free: 1.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002556/1.391, allocations: 85.98 kB / 1.392 GB, free: 1.531 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000952/1.392, allocations: 175.2 kB / 1.392 GB, free: 1.441 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/1.393, allocations: 0.6334 MB / 1.393 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/1.394, allocations: 0.7786 MB / 1.394 GB, free: 224 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/1.394, allocations: 25.97 kB / 1.394 GB, free: 220 kB / 1.061 GB Notification: Performance of SimCode: time 8.42e-07/1.394, allocations: 4 kB / 1.394 GB, free: 216 kB / 1.061 GB Notification: Performance of Templates: time 0.009779/1.404, allocations: 4.854 MB / 1.398 GB, free: 13.71 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.886224932037294]