Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00158/0.00158, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001991/0.001991, allocations: 210.5 kB / 22.99 MB, free: 4.984 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.131/3.131, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002064/0.002064, allocations: 67.77 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 176.1 MB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1874/0.5127, allocations: 147.6 MB / 1.471 GB, free: 12.86 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.5157, allocations: 1.481 MB / 1.473 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.516, allocations: 15.88 kB / 1.473 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.5165, allocations: 154.9 kB / 1.473 GB, free: 11.21 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.5183, allocations: 0.7001 MB / 1.474 GB, free: 10.5 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.5199, allocations: 0.6217 MB / 1.474 GB, free: 9.883 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009228/0.5208, allocations: 0.7206 MB / 1.475 GB, free: 9.16 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.5212, allocations: 181.1 kB / 1.475 GB, free: 8.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009962/0.5222, allocations: 0.5022 MB / 1.476 GB, free: 8.477 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.5225, allocations: 235 kB / 1.476 GB, free: 8.246 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.5225, allocations: 20 kB / 1.476 GB, free: 8.227 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.5238, allocations: 0.7129 MB / 1.476 GB, free: 7.512 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.5239, allocations: 115.6 kB / 1.477 GB, free: 7.398 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.5241, allocations: 135.4 kB / 1.477 GB, free: 7.266 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.5251, allocations: 0.7008 MB / 1.477 GB, free: 6.562 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5251, allocations: 0 / 1.477 GB, free: 6.562 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5251, allocations: 0 / 1.477 GB, free: 6.562 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.5251, allocations: 3.938 kB / 1.477 GB, free: 6.559 MB / 1.17 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.001003/0.5261, allocations: 0.5862 MB / 1.478 GB, free: 5.941 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.5262, allocations: 8.031 kB / 1.478 GB, free: 5.934 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.5274, allocations: 155.6 kB / 1.478 GB, free: 5.781 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.528, allocations: 260 kB / 1.478 GB, free: 5.496 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.528, allocations: 20.44 kB / 1.478 GB, free: 5.477 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.528, allocations: 20 kB / 1.478 GB, free: 5.457 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.5286, allocations: 275.5 kB / 1.479 GB, free: 5.168 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5286, allocations: 3.938 kB / 1.479 GB, free: 5.164 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.5286, allocations: 8 kB / 1.479 GB, free: 5.156 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.5286, allocations: 8 kB / 1.479 GB, free: 5.148 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.5291, allocations: 203.8 kB / 1.479 GB, free: 4.949 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.5304, allocations: 0.9116 MB / 1.48 GB, free: 3.992 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.5308, allocations: 130.5 kB / 1.48 GB, free: 3.855 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.5309, allocations: 88.8 kB / 1.48 GB, free: 3.766 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/0.5315, allocations: 75.91 kB / 1.48 GB, free: 3.691 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.5315, allocations: 38.56 kB / 1.48 GB, free: 3.645 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.5315, allocations: 0 / 1.48 GB, free: 3.645 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.0008463/0.5324, allocations: 281.5 kB / 1.48 GB, free: 3.363 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.5324, allocations: 51.41 kB / 1.48 GB, free: 3.301 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.5327, allocations: 245.9 kB / 1.481 GB, free: 3.047 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.5327, allocations: 25.7 kB / 1.481 GB, free: 3.016 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.5328, allocations: 192.2 kB / 1.481 GB, free: 2.824 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.5329, allocations: 51.53 kB / 1.481 GB, free: 2.773 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/0.533, allocations: 53.59 kB / 1.481 GB, free: 2.715 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5331, allocations: 338.8 kB / 1.481 GB, free: 2.375 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.5333, allocations: 63.95 kB / 1.481 GB, free: 2.312 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.5336, allocations: 199.5 kB / 1.482 GB, free: 2.082 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.534, allocations: 199.9 kB / 1.482 GB, free: 1.871 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.534, allocations: 0 / 1.482 GB, free: 1.871 MB / 1.17 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004912/0.5344, allocations: 237.3 kB / 1.482 GB, free: 1.633 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5345, allocations: 5.719 kB / 1.482 GB, free: 1.629 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5345, allocations: 4 kB / 1.482 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5345, allocations: 144 / 1.482 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.5347, allocations: 39.92 kB / 1.482 GB, free: 1.586 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.5347, allocations: 7.984 kB / 1.482 GB, free: 1.578 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.5349, allocations: 23.88 kB / 1.482 GB, free: 1.555 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.5349, allocations: 16.08 kB / 1.482 GB, free: 1.539 MB / 1.17 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.0001634/0.5351, allocations: 157.7 kB / 1.482 GB, free: 1.375 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.5352, allocations: 27.81 kB / 1.482 GB, free: 1.348 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.5357, allocations: 213 kB / 1.482 GB, free: 1.137 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5357, allocations: 4 kB / 1.482 GB, free: 1.133 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5357, allocations: 3.938 kB / 1.482 GB, free: 1.129 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5357, allocations: 0 / 1.482 GB, free: 1.129 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.5368, allocations: 0.6012 MB / 1.483 GB, free: 480 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.5368, allocations: 4 kB / 1.483 GB, free: 476 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.537, allocations: 27.98 kB / 1.483 GB, free: 448 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.537, allocations: 0 / 1.483 GB, free: 448 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.537, allocations: 4 kB / 1.483 GB, free: 444 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.537, allocations: 16.09 kB / 1.483 GB, free: 428 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.537, allocations: 4 kB / 1.483 GB, free: 424 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.5377, allocations: 433.1 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.5378, allocations: 31.84 kB / 1.484 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.5378, allocations: 12 kB / 1.484 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.538, allocations: 11.92 kB / 1.484 GB, free: 15.9 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.5381, allocations: 15.98 kB / 1.484 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5381, allocations: 12 kB / 1.484 GB, free: 15.87 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001752/0.5383, allocations: 177.2 kB / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5383, allocations: 0 / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004177/0.5387, allocations: 83.83 kB / 1.484 GB, free: 15.62 MB / 1.186 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.0002743/0.5389, allocations: 155 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004559/0.5394, allocations: 174.3 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5394, allocations: 4 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.5396, allocations: 79.83 kB / 1.484 GB, free: 15.21 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/0.5404, allocations: 122.8 kB / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009978/0.5414, allocations: 0.5825 MB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.5416, allocations: 182.6 kB / 1.485 GB, free: 14.27 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.5417, allocations: 54.25 kB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.5418, allocations: 27.44 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of SimCode: time 3.41e-07/0.5418, allocations: 4 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of Templates: time 0.01082/0.5526, allocations: 5.259 MB / 1.49 GB, free: 9.051 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.867929336003726]