Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.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.001487/0.001487, allocations: 110 kB / 18.93 MB, free: 2.945 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.001439/0.001439, allocations: 188.2 kB / 22.23 MB, free: 5.164 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.316/1.316, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.917/2.917, allocations: 0.4893 GB / 0.7884 GB, free: 33.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 69.8 kB / 1.145 GB, free: 30.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3045, allocations: 174.9 MB / 1.316 GB, free: 9.727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1886/0.4931, allocations: 168.2 MB / 1.48 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.4957, allocations: 1.573 MB / 1.482 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.4959, allocations: 19.88 kB / 1.482 GB, free: 15.32 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.4963, allocations: 150.8 kB / 1.482 GB, free: 15.17 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.4979, allocations: 0.7507 MB / 1.483 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.4993, allocations: 0.6339 MB / 1.483 GB, free: 13.78 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007853/0.5001, allocations: 0.7254 MB / 1.484 GB, free: 13.05 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.5004, allocations: 193 kB / 1.484 GB, free: 12.86 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009223/0.5013, allocations: 0.5099 MB / 1.485 GB, free: 12.35 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.5016, allocations: 239 kB / 1.485 GB, free: 12.11 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.5016, allocations: 20 kB / 1.485 GB, free: 12.09 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.503, allocations: 0.9274 MB / 1.486 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.5032, allocations: 123.6 kB / 1.486 GB, free: 11.04 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.5033, allocations: 171.1 kB / 1.486 GB, free: 10.88 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000997/0.5043, allocations: 0.732 MB / 1.487 GB, free: 10.14 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5043, allocations: 4 kB / 1.487 GB, free: 10.14 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5043, allocations: 0 / 1.487 GB, free: 10.14 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.5043, allocations: 0 / 1.487 GB, free: 10.14 MB / 1.186 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.001002/0.5053, allocations: 0.594 MB / 1.487 GB, free: 9.512 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.5054, allocations: 12.03 kB / 1.487 GB, free: 9.5 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.5065, allocations: 159.6 kB / 1.488 GB, free: 9.344 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.507, allocations: 268.4 kB / 1.488 GB, free: 9.055 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.507, allocations: 20.5 kB / 1.488 GB, free: 9.035 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.5071, allocations: 27.94 kB / 1.488 GB, free: 9.008 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.5076, allocations: 273.1 kB / 1.488 GB, free: 8.719 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5076, allocations: 3.938 kB / 1.488 GB, free: 8.715 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.5077, allocations: 15.98 kB / 1.488 GB, free: 8.699 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5077, allocations: 4 kB / 1.488 GB, free: 8.695 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.5081, allocations: 212.9 kB / 1.488 GB, free: 8.488 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.5096, allocations: 1.18 MB / 1.49 GB, free: 7.211 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.5099, allocations: 144.1 kB / 1.49 GB, free: 7.062 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.5101, allocations: 93.11 kB / 1.49 GB, free: 6.969 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004611/0.5106, allocations: 75.83 kB / 1.49 GB, free: 6.895 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.5106, allocations: 30.56 kB / 1.49 GB, free: 6.855 MB / 1.186 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.5106, allocations: 4 kB / 1.49 GB, free: 6.852 MB / 1.186 GB Notification: Performance of matching and sorting (n=17): time 0.0007789/0.5114, allocations: 293.3 kB / 1.49 GB, free: 6.559 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.5114, allocations: 55.41 kB / 1.49 GB, free: 6.492 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.5117, allocations: 324.5 kB / 1.491 GB, free: 6.168 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.5118, allocations: 25.7 kB / 1.491 GB, free: 6.137 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.5119, allocations: 184.2 kB / 1.491 GB, free: 5.953 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.512, allocations: 63.47 kB / 1.491 GB, free: 5.891 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.512, allocations: 61.58 kB / 1.491 GB, free: 5.824 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5122, allocations: 338.8 kB / 1.491 GB, free: 5.484 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.5124, allocations: 71.94 kB / 1.491 GB, free: 5.414 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.5126, allocations: 117.1 kB / 1.491 GB, free: 5.281 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.513, allocations: 193 kB / 1.492 GB, free: 5.074 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.513, allocations: 7.938 kB / 1.492 GB, free: 5.066 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004825/0.5134, allocations: 261.2 kB / 1.492 GB, free: 4.805 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5135, allocations: 9.875 kB / 1.492 GB, free: 4.797 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5135, allocations: 0 / 1.492 GB, free: 4.797 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5135, allocations: 4 kB / 1.492 GB, free: 4.793 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.5137, allocations: 43.92 kB / 1.492 GB, free: 4.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5137, allocations: 7.984 kB / 1.492 GB, free: 4.742 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.5139, allocations: 27.78 kB / 1.492 GB, free: 4.715 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.5139, allocations: 15.98 kB / 1.492 GB, free: 4.699 MB / 1.186 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.0001529/0.5141, allocations: 153.8 kB / 1.492 GB, free: 4.539 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.5141, allocations: 31.81 kB / 1.492 GB, free: 4.508 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.5146, allocations: 236.5 kB / 1.492 GB, free: 4.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5146, allocations: 0 / 1.492 GB, free: 4.27 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5146, allocations: 0 / 1.492 GB, free: 4.27 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.5146, allocations: 0 / 1.492 GB, free: 4.27 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5157, allocations: 0.6748 MB / 1.493 GB, free: 3.523 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.5157, allocations: 4.219 kB / 1.493 GB, free: 3.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.5158, allocations: 47.84 kB / 1.493 GB, free: 3.473 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5158, allocations: 4 kB / 1.493 GB, free: 3.469 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.5159, allocations: 4 kB / 1.493 GB, free: 3.465 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.5159, allocations: 7.938 kB / 1.493 GB, free: 3.457 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5159, allocations: 3.938 kB / 1.493 GB, free: 3.453 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.5165, allocations: 451 kB / 1.493 GB, free: 2.977 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5166, allocations: 47.81 kB / 1.493 GB, free: 2.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.5167, allocations: 8.062 kB / 1.493 GB, free: 2.922 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.5169, allocations: 15.94 kB / 1.494 GB, free: 2.906 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.5169, allocations: 15.91 kB / 1.494 GB, free: 2.891 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.5169, allocations: 12 kB / 1.494 GB, free: 2.879 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002237/0.5172, allocations: 227 kB / 1.494 GB, free: 2.66 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5172, allocations: 96 / 1.494 GB, free: 2.66 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003787/0.5175, allocations: 91.77 kB / 1.494 GB, free: 2.57 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.0003658/0.5179, allocations: 162.8 kB / 1.494 GB, free: 2.406 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.5183, allocations: 177.9 kB / 1.494 GB, free: 2.234 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5183, allocations: 192 / 1.494 GB, free: 2.234 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.5185, allocations: 91.83 kB / 1.494 GB, free: 2.145 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/0.5194, allocations: 175.5 kB / 1.494 GB, free: 1.977 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.5204, allocations: 0.6264 MB / 1.495 GB, free: 1.297 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.5208, allocations: 0.7834 MB / 1.496 GB, free: 496 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000181/0.521, allocations: 66.94 kB / 1.496 GB, free: 428 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.5211, allocations: 27.44 kB / 1.496 GB, free: 400 kB / 1.186 GB Notification: Performance of SimCode: time 2.71e-07/0.5211, allocations: 0 / 1.496 GB, free: 400 kB / 1.186 GB Notification: Performance of Templates: time 0.01125/0.5323, allocations: 6 MB / 1.502 GB, free: 10.48 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.30830907728523]