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.001657/0.001657, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001555/0.001555, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.198/3.198, allocations: 0.4892 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.002068/0.002068, allocations: 74.52 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4034, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2194/0.6228, allocations: 147.6 MB / 1.47 GB, free: 13.64 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003672/0.6265, allocations: 1.479 MB / 1.472 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.6271, allocations: 23.81 kB / 1.472 GB, free: 12.14 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007183/0.6279, allocations: 150.9 kB / 1.472 GB, free: 11.99 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.6304, allocations: 0.7001 MB / 1.473 GB, free: 11.29 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.6325, allocations: 0.6262 MB / 1.473 GB, free: 10.66 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001296/0.6338, allocations: 0.709 MB / 1.474 GB, free: 9.953 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.6344, allocations: 185.1 kB / 1.474 GB, free: 9.77 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.6358, allocations: 0.5021 MB / 1.475 GB, free: 9.266 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005222/0.6363, allocations: 211.1 kB / 1.475 GB, free: 9.059 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/0.6364, allocations: 20 kB / 1.475 GB, free: 9.039 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.6381, allocations: 0.7128 MB / 1.476 GB, free: 8.324 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.6383, allocations: 123.6 kB / 1.476 GB, free: 8.203 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.6386, allocations: 135.3 kB / 1.476 GB, free: 8.07 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.64, allocations: 0.693 MB / 1.477 GB, free: 7.375 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.64, allocations: 0 / 1.477 GB, free: 7.375 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.054e-06/0.64, allocations: 0 / 1.477 GB, free: 7.375 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.64, allocations: 0 / 1.477 GB, free: 7.375 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.001048/0.6411, allocations: 0.59 MB / 1.477 GB, free: 6.754 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6411, allocations: 8.031 kB / 1.477 GB, free: 6.746 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.6423, allocations: 163.5 kB / 1.477 GB, free: 6.586 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.6429, allocations: 252.1 kB / 1.478 GB, free: 6.309 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.6429, allocations: 20.44 kB / 1.478 GB, free: 6.289 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.6429, allocations: 16 kB / 1.478 GB, free: 6.273 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.6435, allocations: 287.4 kB / 1.478 GB, free: 5.973 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6435, allocations: 0 / 1.478 GB, free: 5.973 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.6435, allocations: 8 kB / 1.478 GB, free: 5.965 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.6435, allocations: 8 kB / 1.478 GB, free: 5.957 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.6439, allocations: 195.8 kB / 1.478 GB, free: 5.766 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.6453, allocations: 0.9233 MB / 1.479 GB, free: 4.797 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.6456, allocations: 130.5 kB / 1.479 GB, free: 4.66 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.6458, allocations: 87.2 kB / 1.479 GB, free: 4.574 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004472/0.6463, allocations: 75.91 kB / 1.479 GB, free: 4.5 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.6463, allocations: 38.56 kB / 1.479 GB, free: 4.453 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.6463, allocations: 0 / 1.479 GB, free: 4.453 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.0007976/0.6471, allocations: 281.5 kB / 1.48 GB, free: 4.172 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.6472, allocations: 51.41 kB / 1.48 GB, free: 4.109 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.6474, allocations: 249.9 kB / 1.48 GB, free: 3.852 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.6475, allocations: 33.64 kB / 1.48 GB, free: 3.812 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.6476, allocations: 188.2 kB / 1.48 GB, free: 3.625 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.6477, allocations: 55.48 kB / 1.48 GB, free: 3.57 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.6478, allocations: 45.7 kB / 1.48 GB, free: 3.52 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.6479, allocations: 330.8 kB / 1.48 GB, free: 3.188 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.6481, allocations: 67.95 kB / 1.481 GB, free: 3.121 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.6484, allocations: 191.7 kB / 1.481 GB, free: 2.898 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.6488, allocations: 200.9 kB / 1.481 GB, free: 2.684 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6488, allocations: 4 kB / 1.481 GB, free: 2.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000462/0.6492, allocations: 229.3 kB / 1.481 GB, free: 2.449 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.6493, allocations: 4 kB / 1.481 GB, free: 2.445 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.6493, allocations: 8.094 kB / 1.481 GB, free: 2.438 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.6493, allocations: 0 / 1.481 GB, free: 2.438 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.6495, allocations: 47.91 kB / 1.481 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6495, allocations: 0 / 1.481 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.6497, allocations: 23.88 kB / 1.481 GB, free: 2.367 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.6497, allocations: 12 kB / 1.481 GB, free: 2.355 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.0002433/0.6499, allocations: 153.8 kB / 1.481 GB, free: 2.195 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.65, allocations: 27.81 kB / 1.481 GB, free: 2.168 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/0.6506, allocations: 215.2 kB / 1.482 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6506, allocations: 4 kB / 1.482 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6506, allocations: 0 / 1.482 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6506, allocations: 0 / 1.482 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.6516, allocations: 0.6053 MB / 1.482 GB, free: 1.285 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6517, allocations: 7.938 kB / 1.482 GB, free: 1.277 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.6518, allocations: 31.92 kB / 1.482 GB, free: 1.246 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.6518, allocations: 4 kB / 1.482 GB, free: 1.242 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.6518, allocations: 4 kB / 1.482 GB, free: 1.238 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.6518, allocations: 7.938 kB / 1.482 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6519, allocations: 8 kB / 1.482 GB, free: 1.223 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.6526, allocations: 435.4 kB / 1.483 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/0.6527, allocations: 39.83 kB / 1.483 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.6527, allocations: 7.984 kB / 1.483 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.6529, allocations: 11.94 kB / 1.483 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.6529, allocations: 23.84 kB / 1.483 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.6529, allocations: 4 kB / 1.483 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001901/0.6531, allocations: 177.2 kB / 1.483 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6531, allocations: 0 / 1.483 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004268/0.6535, allocations: 87.81 kB / 1.483 GB, free: 432 kB / 1.17 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.0003104/0.6539, allocations: 147.2 kB / 1.483 GB, free: 272 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.6543, allocations: 167.8 kB / 1.483 GB, free: 104 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6543, allocations: 0 / 1.483 GB, free: 104 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.6545, allocations: 84.39 kB / 1.483 GB, free: 20 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.6552, allocations: 117.3 kB / 1.484 GB, free: 15.9 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.6564, allocations: 0.6231 MB / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.6566, allocations: 174.7 kB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.6567, allocations: 23.44 kB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of SimCode: time 5.81e-07/0.6567, allocations: 0 / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of Templates: time 0.007969/0.6646, allocations: 4.384 MB / 1.489 GB, free: 10.68 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 -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: 12.428740559145808]