Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001731/0.001731, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.002189/0.002189, allocations: 160 kB / 23.01 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.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.624/2.624, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002075/0.002075, allocations: 71.88 kB / 0.9515 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3106, allocations: 169.9 MB / 1.117 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8494/1.16, allocations: 147.6 MB / 1.262 GB, free: 12.44 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003626/1.164, allocations: 1.488 MB / 1.263 GB, free: 11.43 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/1.164, allocations: 19.91 kB / 1.263 GB, free: 11.42 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005177/1.165, allocations: 158.9 kB / 1.263 GB, free: 11.32 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/1.166, allocations: 0.6996 MB / 1.264 GB, free: 10.96 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/1.168, allocations: 0.6198 MB / 1.265 GB, free: 10.66 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001053/1.169, allocations: 0.7305 MB / 1.265 GB, free: 10.33 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/1.17, allocations: 196.7 kB / 1.265 GB, free: 10.24 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007936/1.171, allocations: 370.9 kB / 1.266 GB, free: 10.08 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/1.171, allocations: 230.7 kB / 1.266 GB, free: 9.988 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/1.171, allocations: 23.09 kB / 1.266 GB, free: 9.988 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/1.173, allocations: 0.7174 MB / 1.267 GB, free: 9.723 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/1.173, allocations: 118.1 kB / 1.267 GB, free: 9.668 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/1.173, allocations: 146.2 kB / 1.267 GB, free: 9.598 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/1.174, allocations: 0.7009 MB / 1.268 GB, free: 9.371 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.174, allocations: 0.7969 kB / 1.268 GB, free: 9.371 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.503e-06/1.174, allocations: 1.031 kB / 1.268 GB, free: 9.371 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.25e-05/1.174, allocations: 0 / 1.268 GB, free: 9.371 MB / 1.123 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.00108/1.175, allocations: 0.5994 MB / 1.268 GB, free: 8.906 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/1.175, allocations: 10.75 kB / 1.268 GB, free: 8.906 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/1.176, allocations: 163.8 kB / 1.268 GB, free: 8.867 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/1.177, allocations: 257.1 kB / 1.269 GB, free: 8.672 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/1.177, allocations: 18.91 kB / 1.269 GB, free: 8.664 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/1.177, allocations: 31.03 kB / 1.269 GB, free: 8.648 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/1.178, allocations: 282.8 kB / 1.269 GB, free: 8.504 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.178, allocations: 1.312 kB / 1.269 GB, free: 8.504 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/1.178, allocations: 6.5 kB / 1.269 GB, free: 8.5 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/1.178, allocations: 5.875 kB / 1.269 GB, free: 8.5 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/1.178, allocations: 200 kB / 1.269 GB, free: 8.445 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/1.18, allocations: 0.9425 MB / 1.27 GB, free: 7.723 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/1.18, allocations: 138.2 kB / 1.27 GB, free: 7.66 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/1.18, allocations: 89.36 kB / 1.27 GB, free: 7.633 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00049/1.181, allocations: 77.53 kB / 1.27 GB, free: 7.621 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.181, allocations: 38.09 kB / 1.27 GB, free: 7.578 MB / 1.123 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/1.181, allocations: 0 / 1.27 GB, free: 7.578 MB / 1.123 GB Notification: Performance of matching and sorting (n=17): time 0.0008378/1.181, allocations: 291.2 kB / 1.271 GB, free: 7.473 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/1.181, allocations: 62.39 kB / 1.271 GB, free: 7.402 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/1.182, allocations: 252.4 kB / 1.271 GB, free: 7.254 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/1.182, allocations: 30.86 kB / 1.271 GB, free: 7.219 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/1.182, allocations: 186 kB / 1.271 GB, free: 7.062 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/1.182, allocations: 63.88 kB / 1.271 GB, free: 7.012 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.609e-05/1.182, allocations: 48.89 kB / 1.271 GB, free: 6.98 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.182, allocations: 332.8 kB / 1.272 GB, free: 6.66 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/1.182, allocations: 69.39 kB / 1.272 GB, free: 6.641 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/1.183, allocations: 204.4 kB / 1.272 GB, free: 6.473 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/1.183, allocations: 208.7 kB / 1.272 GB, free: 6.355 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.183, allocations: 0 / 1.272 GB, free: 6.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000513/1.184, allocations: 254.9 kB / 1.272 GB, free: 6.246 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.184, allocations: 5.688 kB / 1.272 GB, free: 6.246 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.184, allocations: 5.125 kB / 1.272 GB, free: 6.242 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.184, allocations: 2.922 kB / 1.272 GB, free: 6.242 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/1.184, allocations: 48.03 kB / 1.272 GB, free: 6.238 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.184, allocations: 4.656 kB / 1.272 GB, free: 6.238 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/1.184, allocations: 27 kB / 1.272 GB, free: 6.223 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/1.184, allocations: 8.719 kB / 1.272 GB, free: 6.223 MB / 1.123 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.0001749/1.184, allocations: 153.3 kB / 1.273 GB, free: 6.086 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/1.184, allocations: 29.11 kB / 1.273 GB, free: 6.07 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/1.185, allocations: 219.7 kB / 1.273 GB, free: 5.973 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.185, allocations: 3.203 kB / 1.273 GB, free: 5.973 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.185, allocations: 0 / 1.273 GB, free: 5.973 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.185, allocations: 1.672 kB / 1.273 GB, free: 5.973 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/1.186, allocations: 0.6226 MB / 1.273 GB, free: 5.551 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.186, allocations: 3.422 kB / 1.273 GB, free: 5.551 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/1.186, allocations: 35.94 kB / 1.274 GB, free: 5.547 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.186, allocations: 3.422 kB / 1.274 GB, free: 5.547 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.186, allocations: 8.844 kB / 1.274 GB, free: 5.543 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.186, allocations: 3.219 kB / 1.274 GB, free: 5.543 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.186, allocations: 2.625 kB / 1.274 GB, free: 5.543 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/1.187, allocations: 452.8 kB / 1.274 GB, free: 5.254 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/1.187, allocations: 42.34 kB / 1.274 GB, free: 5.23 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/1.187, allocations: 7.969 kB / 1.274 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/1.187, allocations: 8.438 kB / 1.274 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/1.187, allocations: 25.3 kB / 1.274 GB, free: 5.215 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/1.187, allocations: 5.25 kB / 1.274 GB, free: 5.215 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000186/1.188, allocations: 184 kB / 1.274 GB, free: 5.109 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.188, allocations: 1.062 kB / 1.274 GB, free: 5.109 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004754/1.188, allocations: 90.41 kB / 1.274 GB, free: 5.09 MB / 1.123 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.0002994/1.188, allocations: 161.2 kB / 1.274 GB, free: 4.973 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004607/1.189, allocations: 176.3 kB / 1.275 GB, free: 4.922 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/1.189, allocations: 1.125 kB / 1.275 GB, free: 4.922 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/1.189, allocations: 91.31 kB / 1.275 GB, free: 4.895 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007591/1.19, allocations: 115.4 kB / 1.275 GB, free: 4.871 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/1.191, allocations: 0.6318 MB / 1.275 GB, free: 4.445 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/1.191, allocations: 175.1 kB / 1.276 GB, free: 4.359 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001816/1.191, allocations: 52.69 kB / 1.276 GB, free: 4.352 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/1.191, allocations: 23.5 kB / 1.276 GB, free: 4.344 MB / 1.123 GB Notification: Performance of SimCode: time 5.61e-07/1.191, allocations: 0 / 1.276 GB, free: 4.344 MB / 1.123 GB Notification: Performance of Templates: time 0.01139/1.203, allocations: 4.834 MB / 1.28 GB, free: 3.836 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.92681412503589]