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.001873/0.001873, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002291/0.002291, allocations: 161.7 kB / 23.55 MB, free: 0.8945 MB / 18.57 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.493/1.493, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.824/2.824, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.717e-05/3.874e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2277/0.2277, allocations: 147.6 MB / 0.9305 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003279/0.231, allocations: 1.502 MB / 0.932 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.2313, allocations: 15.88 kB / 0.932 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.2319, allocations: 166.7 kB / 0.9322 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.234, allocations: 0.7229 MB / 0.9329 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.2363, allocations: 0.6618 MB / 0.9335 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.2374, allocations: 0.7253 MB / 0.9342 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004016/0.2378, allocations: 193.2 kB / 0.9344 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008895/0.2387, allocations: 454.6 kB / 0.9349 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.239, allocations: 203.4 kB / 0.935 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.2391, allocations: 24 kB / 0.9351 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.2406, allocations: 0.7358 MB / 0.9358 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.2408, allocations: 115.6 kB / 0.9359 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.241, allocations: 119.8 kB / 0.936 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.2422, allocations: 0.7439 MB / 0.9367 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2422, allocations: 0 / 0.9367 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2423, allocations: 0 / 0.9367 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2423, allocations: 0 / 0.9367 GB, free: 1.246 MB / 0.8386 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.001139/0.2434, allocations: 0.5978 MB / 0.9373 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2434, allocations: 12.03 kB / 0.9373 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.2447, allocations: 215.2 kB / 0.9375 GB, free: 404 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.2453, allocations: 280.5 kB / 0.9378 GB, free: 96 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.2453, allocations: 16.5 kB / 0.9378 GB, free: 80 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.2454, allocations: 24 kB / 0.9378 GB, free: 56 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.246, allocations: 285.1 kB / 0.9381 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.246, allocations: 0 / 0.9381 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.246, allocations: 12 kB / 0.9381 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.246, allocations: 4 kB / 0.9381 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.2465, allocations: 204.9 kB / 0.9383 GB, free: 15.54 MB / 0.8542 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.00156/0.2481, allocations: 0.9406 MB / 0.9392 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.2484, allocations: 142.3 kB / 0.9394 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.2487, allocations: 92.8 kB / 0.9395 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000509/0.2492, allocations: 71.92 kB / 0.9395 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.2492, allocations: 38.55 kB / 0.9396 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.2492, allocations: 0 / 0.9396 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.000906/0.2501, allocations: 299.3 kB / 0.9399 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.2502, allocations: 59.34 kB / 0.9399 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.2507, allocations: 260.1 kB / 0.9402 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.2508, allocations: 29.7 kB / 0.9402 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.251, allocations: 184.2 kB / 0.9404 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.251, allocations: 63.47 kB / 0.9404 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2511, allocations: 49.7 kB / 0.9405 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.2513, allocations: 330.8 kB / 0.9408 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.2515, allocations: 71.94 kB / 0.9409 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.2518, allocations: 212.3 kB / 0.9411 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.2523, allocations: 209 kB / 0.9413 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2523, allocations: 0 / 0.9413 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005742/0.2529, allocations: 257.2 kB / 0.9415 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.2529, allocations: 15.97 kB / 0.9415 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2529, allocations: 0 / 0.9415 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2529, allocations: 4 kB / 0.9415 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.2532, allocations: 43.97 kB / 0.9416 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2532, allocations: 7.938 kB / 0.9416 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.2534, allocations: 23.88 kB / 0.9416 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.2534, allocations: 8 kB / 0.9416 GB, free: 12 MB / 0.8542 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.0001797/0.2536, allocations: 145.8 kB / 0.9417 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.2537, allocations: 39.81 kB / 0.9418 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000579/0.2542, allocations: 223.6 kB / 0.942 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.2542, allocations: 0 / 0.942 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2543, allocations: 0 / 0.942 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2543, allocations: 0 / 0.942 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.2555, allocations: 0.6284 MB / 0.9426 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2555, allocations: 4 kB / 0.9426 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.2557, allocations: 27.98 kB / 0.9426 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.912e-06/0.2557, allocations: 4 kB / 0.9426 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2557, allocations: 8 kB / 0.9427 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.2557, allocations: 7.938 kB / 0.9427 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2557, allocations: 0 / 0.9427 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.2566, allocations: 451.9 kB / 0.9431 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.2567, allocations: 51.75 kB / 0.9431 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.2567, allocations: 8 kB / 0.9431 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2569, allocations: 8 kB / 0.9432 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.257, allocations: 19.91 kB / 0.9432 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.257, allocations: 8 kB / 0.9432 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002155/0.2572, allocations: 183.1 kB / 0.9434 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.2572, allocations: 0 / 0.9434 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004631/0.2577, allocations: 91.95 kB / 0.9434 GB, free: 10.01 MB / 0.8542 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.0003672/0.258, allocations: 159.1 kB / 0.9436 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.2586, allocations: 179.7 kB / 0.9438 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2586, allocations: 0 / 0.9438 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.2588, allocations: 88.2 kB / 0.9439 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008188/0.2596, allocations: 123.9 kB / 0.944 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2608, allocations: 0.5848 MB / 0.9445 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.261, allocations: 175.5 kB / 0.9447 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.2612, allocations: 58.41 kB / 0.9448 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.2613, allocations: 24.5 kB / 0.9448 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.2613, allocations: 3.938 kB / 0.9448 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of Templates: time 0.01187/0.2732, allocations: 4.902 MB / 0.9496 GB, free: 3.797 MB / 0.8542 GB " [Timeout remaining time 300] 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 -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/jenkins/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.231460115988739]