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.001538/0.001538, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001671/0.001671, allocations: 162.4 kB / 23.01 MB, free: 4.949 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.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.927/2.927, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.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.002862/0.002862, allocations: 59.91 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223/1.226, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2179/1.444, allocations: 147.7 MB / 1.298 GB, free: 13.83 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003638/1.448, allocations: 1.488 MB / 1.3 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/1.448, allocations: 14.69 kB / 1.3 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006648/1.449, allocations: 156.1 kB / 1.3 GB, free: 12.71 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002372/1.451, allocations: 0.7045 MB / 1.3 GB, free: 12.35 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/1.453, allocations: 0.6196 MB / 1.301 GB, free: 12.05 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001172/1.454, allocations: 0.7243 MB / 1.302 GB, free: 11.69 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/1.455, allocations: 200.2 kB / 1.302 GB, free: 11.55 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/1.456, allocations: 0.5135 MB / 1.302 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/1.456, allocations: 227.2 kB / 1.303 GB, free: 11.11 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/1.456, allocations: 23.78 kB / 1.303 GB, free: 11.11 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/1.458, allocations: 0.7083 MB / 1.303 GB, free: 10.71 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/1.458, allocations: 117.9 kB / 1.303 GB, free: 10.63 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/1.459, allocations: 141.4 kB / 1.304 GB, free: 10.56 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/1.46, allocations: 0.6978 MB / 1.304 GB, free: 10.15 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.46, allocations: 1.094 kB / 1.304 GB, free: 10.15 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.844e-06/1.46, allocations: 0 / 1.304 GB, free: 10.15 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.46, allocations: 0 / 1.304 GB, free: 10.15 MB / 1.154 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.001166/1.461, allocations: 0.6055 MB / 1.305 GB, free: 9.641 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.461, allocations: 9.188 kB / 1.305 GB, free: 9.641 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/1.462, allocations: 160.7 kB / 1.305 GB, free: 9.562 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/1.463, allocations: 257.9 kB / 1.305 GB, free: 9.34 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/1.463, allocations: 21.97 kB / 1.305 GB, free: 9.328 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/1.463, allocations: 28.12 kB / 1.305 GB, free: 9.316 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/1.464, allocations: 288.5 kB / 1.306 GB, free: 9.121 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/1.464, allocations: 0 / 1.306 GB, free: 9.121 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/1.464, allocations: 10.5 kB / 1.306 GB, free: 9.113 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/1.464, allocations: 14.44 kB / 1.306 GB, free: 9.105 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/1.464, allocations: 200.3 kB / 1.306 GB, free: 9.016 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/1.466, allocations: 0.9378 MB / 1.307 GB, free: 8.211 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/1.466, allocations: 135.8 kB / 1.307 GB, free: 8.133 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/1.466, allocations: 94.48 kB / 1.307 GB, free: 8.082 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005047/1.467, allocations: 77.34 kB / 1.307 GB, free: 8.051 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/1.467, allocations: 32.78 kB / 1.307 GB, free: 8.012 MB / 1.154 GB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/1.467, allocations: 0 / 1.307 GB, free: 8.012 MB / 1.154 GB Notification: Performance of matching and sorting (n=17): time 0.0009144/1.468, allocations: 296.5 kB / 1.307 GB, free: 7.859 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/1.468, allocations: 58.03 kB / 1.307 GB, free: 7.793 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/1.468, allocations: 251.9 kB / 1.308 GB, free: 7.617 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/1.468, allocations: 26.7 kB / 1.308 GB, free: 7.586 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/1.468, allocations: 189.1 kB / 1.308 GB, free: 7.414 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/1.468, allocations: 71.16 kB / 1.308 GB, free: 7.352 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/1.469, allocations: 44.3 kB / 1.308 GB, free: 7.32 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.469, allocations: 336.5 kB / 1.308 GB, free: 6.988 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/1.469, allocations: 72.61 kB / 1.308 GB, free: 6.953 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/1.469, allocations: 204.3 kB / 1.309 GB, free: 6.77 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/1.47, allocations: 194.5 kB / 1.309 GB, free: 6.645 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.47, allocations: 0 / 1.309 GB, free: 6.645 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005243/1.47, allocations: 257.2 kB / 1.309 GB, free: 6.504 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.47, allocations: 6.438 kB / 1.309 GB, free: 6.504 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/1.47, allocations: 1.344 kB / 1.309 GB, free: 6.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.47, allocations: 2.531 kB / 1.309 GB, free: 6.504 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/1.47, allocations: 50.5 kB / 1.309 GB, free: 6.488 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/1.47, allocations: 2.281 kB / 1.309 GB, free: 6.488 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/1.471, allocations: 25.14 kB / 1.309 GB, free: 6.473 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/1.471, allocations: 11.44 kB / 1.309 GB, free: 6.469 MB / 1.154 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.0001656/1.471, allocations: 157 kB / 1.309 GB, free: 6.324 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/1.471, allocations: 28.2 kB / 1.309 GB, free: 6.309 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/1.471, allocations: 227.9 kB / 1.309 GB, free: 6.168 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.471, allocations: 5.391 kB / 1.309 GB, free: 6.164 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.471, allocations: 0 / 1.309 GB, free: 6.164 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.471, allocations: 0 / 1.309 GB, free: 6.164 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/1.473, allocations: 0.6233 MB / 1.31 GB, free: 5.668 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/1.473, allocations: 2.281 kB / 1.31 GB, free: 5.668 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/1.473, allocations: 39.11 kB / 1.31 GB, free: 5.656 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.473, allocations: 6.094 kB / 1.31 GB, free: 5.652 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/1.473, allocations: 7.328 kB / 1.31 GB, free: 5.648 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.473, allocations: 3.25 kB / 1.31 GB, free: 5.648 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.473, allocations: 3.062 kB / 1.31 GB, free: 5.648 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/1.474, allocations: 457.8 kB / 1.311 GB, free: 5.309 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/1.474, allocations: 37.06 kB / 1.311 GB, free: 5.285 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/1.474, allocations: 7.188 kB / 1.311 GB, free: 5.281 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/1.474, allocations: 13.86 kB / 1.311 GB, free: 5.273 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/1.474, allocations: 18.48 kB / 1.311 GB, free: 5.262 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/1.474, allocations: 6.375 kB / 1.311 GB, free: 5.262 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002051/1.474, allocations: 188.5 kB / 1.311 GB, free: 5.129 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.474, allocations: 0 / 1.311 GB, free: 5.129 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000484/1.475, allocations: 97.98 kB / 1.311 GB, free: 5.102 MB / 1.154 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.0002932/1.475, allocations: 142.8 kB / 1.311 GB, free: 4.992 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004822/1.475, allocations: 172.5 kB / 1.311 GB, free: 4.918 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.475, allocations: 5.219 kB / 1.311 GB, free: 4.914 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/1.476, allocations: 88.84 kB / 1.311 GB, free: 4.875 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007704/1.476, allocations: 121.7 kB / 1.311 GB, free: 4.812 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/1.478, allocations: 0.6176 MB / 1.312 GB, free: 4.355 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/1.478, allocations: 180.1 kB / 1.312 GB, free: 4.23 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001875/1.478, allocations: 63.45 kB / 1.312 GB, free: 4.191 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/1.478, allocations: 24.03 kB / 1.312 GB, free: 4.184 MB / 1.154 GB Notification: Performance of SimCode: time 3.41e-07/1.478, allocations: 0 / 1.312 GB, free: 4.184 MB / 1.154 GB Notification: Performance of Templates: time 0.01122/1.489, allocations: 4.846 MB / 1.317 GB, free: 1.422 MB / 1.154 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 ida -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: 9.73396409500856]