Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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.001848/0.001848, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002297/0.002297, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.152/3.152, 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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") [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.002101/0.002101, allocations: 71.81 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3202, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1879/0.5081, allocations: 147.7 MB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.5109, allocations: 1.488 MB / 1.473 GB, free: 11.24 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.5111, allocations: 19.81 kB / 1.473 GB, free: 11.22 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.5115, allocations: 150.9 kB / 1.473 GB, free: 11.07 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.5131, allocations: 0.7117 MB / 1.474 GB, free: 10.36 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.5145, allocations: 0.6227 MB / 1.474 GB, free: 9.734 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008051/0.5153, allocations: 0.7293 MB / 1.475 GB, free: 9.004 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.5157, allocations: 201 kB / 1.475 GB, free: 8.801 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009947/0.5167, allocations: 0.506 MB / 1.476 GB, free: 8.293 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.517, allocations: 239 kB / 1.476 GB, free: 8.059 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.517, allocations: 27.98 kB / 1.476 GB, free: 8.031 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.5182, allocations: 0.7206 MB / 1.477 GB, free: 7.309 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.5183, allocations: 111.7 kB / 1.477 GB, free: 7.199 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.5185, allocations: 143.3 kB / 1.477 GB, free: 7.059 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.5195, allocations: 0.7086 MB / 1.478 GB, free: 6.348 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5195, allocations: 4 kB / 1.478 GB, free: 6.344 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5195, allocations: 0 / 1.478 GB, free: 6.344 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.5195, allocations: 0 / 1.478 GB, free: 6.344 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001044/0.5205, allocations: 0.5979 MB / 1.478 GB, free: 5.711 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5205, allocations: 8.031 kB / 1.478 GB, free: 5.703 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.5217, allocations: 155.6 kB / 1.478 GB, free: 5.551 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.5223, allocations: 268.4 kB / 1.479 GB, free: 5.266 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.5223, allocations: 20.5 kB / 1.479 GB, free: 5.246 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.5224, allocations: 27.94 kB / 1.479 GB, free: 5.219 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.5229, allocations: 285 kB / 1.479 GB, free: 4.918 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5229, allocations: 3.984 kB / 1.479 GB, free: 4.914 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.523, allocations: 12 kB / 1.479 GB, free: 4.902 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.523, allocations: 4 kB / 1.479 GB, free: 4.898 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.5234, allocations: 200.9 kB / 1.479 GB, free: 4.703 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.5248, allocations: 0.9252 MB / 1.48 GB, free: 3.73 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.5251, allocations: 138.5 kB / 1.48 GB, free: 3.586 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.5253, allocations: 92.73 kB / 1.48 GB, free: 3.492 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000491/0.5258, allocations: 71.92 kB / 1.48 GB, free: 3.422 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.5259, allocations: 38.55 kB / 1.48 GB, free: 3.375 MB / 1.17 GB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.5259, allocations: 0 / 1.48 GB, free: 3.375 MB / 1.17 GB Notification: Performance of matching and sorting (n=17): time 0.0008229/0.5267, allocations: 307 kB / 1.481 GB, free: 3.07 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.5267, allocations: 55.41 kB / 1.481 GB, free: 3.004 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.527, allocations: 256.2 kB / 1.481 GB, free: 2.742 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.527, allocations: 29.7 kB / 1.481 GB, free: 2.707 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.5272, allocations: 188.2 kB / 1.481 GB, free: 2.52 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.5272, allocations: 71.41 kB / 1.481 GB, free: 2.449 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.5273, allocations: 45.7 kB / 1.481 GB, free: 2.398 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5275, allocations: 334.8 kB / 1.482 GB, free: 2.062 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.5277, allocations: 75.95 kB / 1.482 GB, free: 1.988 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.528, allocations: 200.6 kB / 1.482 GB, free: 1.758 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.5284, allocations: 196.9 kB / 1.482 GB, free: 1.547 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5284, allocations: 0 / 1.482 GB, free: 1.547 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005381/0.5289, allocations: 254.9 kB / 1.482 GB, free: 1.293 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5289, allocations: 10.03 kB / 1.482 GB, free: 1.285 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5289, allocations: 0 / 1.482 GB, free: 1.285 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5289, allocations: 4 kB / 1.482 GB, free: 1.281 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.5292, allocations: 43.97 kB / 1.482 GB, free: 1.238 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5292, allocations: 7.938 kB / 1.482 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.5294, allocations: 27.83 kB / 1.482 GB, free: 1.203 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.5294, allocations: 8 kB / 1.482 GB, free: 1.195 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 (24): * Single equations (assignments): 24 * 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.0001603/0.5296, allocations: 149.9 kB / 1.482 GB, free: 1.039 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.5296, allocations: 27.8 kB / 1.482 GB, free: 1.012 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/0.5301, allocations: 227.7 kB / 1.483 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5301, allocations: 0 / 1.483 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5301, allocations: 0 / 1.483 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5301, allocations: 7.984 kB / 1.483 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.5312, allocations: 0.6167 MB / 1.483 GB, free: 100 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5312, allocations: 4 kB / 1.483 GB, free: 96 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.5314, allocations: 31.98 kB / 1.483 GB, free: 64 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5314, allocations: 4 kB / 1.483 GB, free: 60 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.5314, allocations: 4 kB / 1.483 GB, free: 56 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.5314, allocations: 11.92 kB / 1.483 GB, free: 44 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5314, allocations: 224 / 1.483 GB, free: 44 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007446/0.5322, allocations: 454.6 kB / 1.484 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.5323, allocations: 47.8 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.5323, allocations: 7.938 kB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.5325, allocations: 11.98 kB / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.5325, allocations: 15.92 kB / 1.484 GB, free: 15.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.5326, allocations: 8 kB / 1.484 GB, free: 15.47 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002221/0.5328, allocations: 183.1 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5328, allocations: 4 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000391/0.5332, allocations: 87.84 kB / 1.484 GB, free: 15.2 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 (17): * Single equations (assignments): 17 * 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.0002616/0.5334, allocations: 151.1 kB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.5339, allocations: 179.7 kB / 1.484 GB, free: 14.87 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5339, allocations: 4.188 kB / 1.484 GB, free: 14.87 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.5341, allocations: 83.83 kB / 1.485 GB, free: 14.79 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/0.5348, allocations: 130.7 kB / 1.485 GB, free: 14.66 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.5358, allocations: 0.6201 MB / 1.485 GB, free: 13.99 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.536, allocations: 175.5 kB / 1.485 GB, free: 13.8 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.5362, allocations: 58.23 kB / 1.485 GB, free: 13.74 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.5362, allocations: 19.44 kB / 1.486 GB, free: 13.73 MB / 1.186 GB Notification: Performance of SimCode: time 3.3e-07/0.5362, allocations: 4 kB / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of Templates: time 0.01041/0.5467, allocations: 5.355 MB / 1.491 GB, free: 8.496 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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.876128142990638]