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.001883/0.001883, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002391/0.002391, allocations: 211.3 kB / 23.03 MB, free: 4.863 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.801 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.133/3.133, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002799/0.002799, allocations: 69.3 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4025, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1928/0.5953, allocations: 147.7 MB / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.5984, allocations: 1.496 MB / 1.473 GB, free: 11.25 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.5988, allocations: 23.75 kB / 1.473 GB, free: 11.23 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.5993, allocations: 142.9 kB / 1.473 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.6013, allocations: 0.7157 MB / 1.474 GB, free: 10.37 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.6031, allocations: 0.614 MB / 1.474 GB, free: 9.754 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.6041, allocations: 0.7254 MB / 1.475 GB, free: 9.027 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.6045, allocations: 193 kB / 1.475 GB, free: 8.832 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.6057, allocations: 0.5177 MB / 1.476 GB, free: 8.312 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.606, allocations: 219 kB / 1.476 GB, free: 8.098 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.15e-05/0.6061, allocations: 27.98 kB / 1.476 GB, free: 8.07 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.6078, allocations: 0.7012 MB / 1.477 GB, free: 7.367 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.608, allocations: 123.6 kB / 1.477 GB, free: 7.246 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.6082, allocations: 135.4 kB / 1.477 GB, free: 7.113 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.6097, allocations: 0.7086 MB / 1.478 GB, free: 6.402 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.6097, allocations: 4 kB / 1.478 GB, free: 6.398 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6097, allocations: 3.938 kB / 1.478 GB, free: 6.395 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.587e-06/0.6097, allocations: 0 / 1.478 GB, free: 6.395 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.001228/0.6109, allocations: 0.6018 MB / 1.478 GB, free: 5.758 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.611, allocations: 8.031 kB / 1.478 GB, free: 5.75 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.6122, allocations: 151.6 kB / 1.478 GB, free: 5.602 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.6128, allocations: 276.4 kB / 1.479 GB, free: 5.309 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.6128, allocations: 20.5 kB / 1.479 GB, free: 5.289 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.6129, allocations: 27.94 kB / 1.479 GB, free: 5.262 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.6135, allocations: 285.1 kB / 1.479 GB, free: 4.961 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.6135, allocations: 0 / 1.479 GB, free: 4.961 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.6135, allocations: 8 kB / 1.479 GB, free: 4.953 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.6135, allocations: 8 kB / 1.479 GB, free: 4.945 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.614, allocations: 204.9 kB / 1.479 GB, free: 4.746 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.6156, allocations: 0.9213 MB / 1.48 GB, free: 3.777 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.6159, allocations: 142.5 kB / 1.48 GB, free: 3.629 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.6161, allocations: 92.69 kB / 1.48 GB, free: 3.535 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/0.6166, allocations: 75.91 kB / 1.48 GB, free: 3.461 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.6167, allocations: 34.56 kB / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/0.6167, allocations: 0 / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of matching and sorting (n=17): time 0.0008815/0.6175, allocations: 287.5 kB / 1.481 GB, free: 3.133 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.6176, allocations: 55.41 kB / 1.481 GB, free: 3.066 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.6179, allocations: 260.2 kB / 1.481 GB, free: 2.801 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.6179, allocations: 29.7 kB / 1.481 GB, free: 2.766 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.6181, allocations: 196.2 kB / 1.481 GB, free: 2.57 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.6182, allocations: 67.42 kB / 1.481 GB, free: 2.504 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.6183, allocations: 45.7 kB / 1.481 GB, free: 2.453 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.6185, allocations: 334.8 kB / 1.482 GB, free: 2.117 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.6186, allocations: 67.89 kB / 1.482 GB, free: 2.051 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.6189, allocations: 209.2 kB / 1.482 GB, free: 1.812 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.6193, allocations: 201 kB / 1.482 GB, free: 1.598 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.6193, allocations: 0 / 1.482 GB, free: 1.598 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004773/0.6197, allocations: 251.2 kB / 1.482 GB, free: 1.348 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.6198, allocations: 7.938 kB / 1.482 GB, free: 1.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6198, allocations: 7.984 kB / 1.482 GB, free: 1.332 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.6198, allocations: 4.094 kB / 1.482 GB, free: 1.328 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.62, allocations: 43.92 kB / 1.482 GB, free: 1.285 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.62, allocations: 4 kB / 1.482 GB, free: 1.281 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.6202, allocations: 27.83 kB / 1.482 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.6202, allocations: 12 kB / 1.482 GB, free: 1.242 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.000165/0.6204, allocations: 153.8 kB / 1.482 GB, free: 1.082 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.6204, allocations: 27.8 kB / 1.483 GB, free: 1.055 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.6209, allocations: 219.7 kB / 1.483 GB, free: 0.832 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6209, allocations: 7.938 kB / 1.483 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6209, allocations: 0 / 1.483 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6209, allocations: 4 kB / 1.483 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.6219, allocations: 0.6131 MB / 1.483 GB, free: 152 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.622, allocations: 8.031 kB / 1.483 GB, free: 144 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.6221, allocations: 35.91 kB / 1.483 GB, free: 108 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.6221, allocations: 4 kB / 1.483 GB, free: 104 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.6221, allocations: 8 kB / 1.483 GB, free: 96 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.6222, allocations: 4 kB / 1.483 GB, free: 92 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6222, allocations: 0 / 1.483 GB, free: 92 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007084/0.6229, allocations: 451.1 kB / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.623, allocations: 43.78 kB / 1.484 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.623, allocations: 8 kB / 1.484 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.6231, allocations: 7.984 kB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.6232, allocations: 27.84 kB / 1.484 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.6232, allocations: 4 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001831/0.6234, allocations: 187.1 kB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6234, allocations: 0 / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004269/0.6238, allocations: 87.84 kB / 1.484 GB, free: 15.25 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.0002919/0.6241, allocations: 155.2 kB / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004761/0.6246, allocations: 171.9 kB / 1.484 GB, free: 14.93 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6246, allocations: 7.938 kB / 1.484 GB, free: 14.92 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.6248, allocations: 92.44 kB / 1.485 GB, free: 14.83 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.6255, allocations: 127.1 kB / 1.485 GB, free: 14.71 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.6267, allocations: 0.6528 MB / 1.485 GB, free: 14 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.6268, allocations: 175.5 kB / 1.486 GB, free: 13.81 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.6269, allocations: 27.44 kB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of SimCode: time 4.71e-07/0.6269, allocations: 0 / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of Templates: time 0.007835/0.6348, allocations: 4.499 MB / 1.49 GB, free: 9.324 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 -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: 12.279097212012857]