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.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.001979/0.001979, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002638/0.002638, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.478/3.478, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.573e-06/1.573e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.161e-05, allocations: 2.844 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2179/0.218, allocations: 147.6 MB / 1.022 GB, free: 2.367 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00345/0.2214, allocations: 1.478 MB / 1.023 GB, free: 0.8906 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.2217, allocations: 15.88 kB / 1.023 GB, free: 0.875 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.2222, allocations: 162.7 kB / 1.023 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.2241, allocations: 0.7229 MB / 1.024 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.2259, allocations: 0.6501 MB / 1.025 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009702/0.2269, allocations: 0.7019 MB / 1.025 GB, free: 14.63 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.2273, allocations: 177.5 kB / 1.026 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.2285, allocations: 0.6035 MB / 1.026 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.2288, allocations: 191.4 kB / 1.026 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.2289, allocations: 20 kB / 1.026 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.2302, allocations: 0.7242 MB / 1.027 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.2304, allocations: 115.6 kB / 1.027 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.2305, allocations: 119.8 kB / 1.027 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.2317, allocations: 0.7478 MB / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2317, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2317, allocations: 3.938 kB / 1.028 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.2317, allocations: 0 / 1.028 GB, free: 11.93 MB / 0.9948 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.001104/0.2328, allocations: 0.5823 MB / 1.029 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2329, allocations: 8.031 kB / 1.029 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.2342, allocations: 215.2 kB / 1.029 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.2349, allocations: 280.4 kB / 1.029 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.2349, allocations: 16.5 kB / 1.029 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.235, allocations: 24 kB / 1.029 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.2355, allocations: 285 kB / 1.029 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2356, allocations: 4 kB / 1.029 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.2356, allocations: 12 kB / 1.029 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2356, allocations: 4 kB / 1.029 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.2361, allocations: 200.9 kB / 1.03 GB, free: 10.25 MB / 0.9948 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.001562/0.2377, allocations: 0.9407 MB / 1.031 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.238, allocations: 138.5 kB / 1.031 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.2382, allocations: 88.8 kB / 1.031 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005027/0.2387, allocations: 75.92 kB / 1.031 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.2388, allocations: 34.56 kB / 1.031 GB, free: 8.91 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.2388, allocations: 0 / 1.031 GB, free: 8.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17): time 0.0009297/0.2397, allocations: 301.5 kB / 1.031 GB, free: 8.609 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.2397, allocations: 59.34 kB / 1.031 GB, free: 8.539 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.2401, allocations: 249.9 kB / 1.031 GB, free: 8.285 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.2401, allocations: 37.7 kB / 1.031 GB, free: 8.242 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.2403, allocations: 184.2 kB / 1.032 GB, free: 8.059 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.2403, allocations: 59.48 kB / 1.032 GB, free: 8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/0.2404, allocations: 45.7 kB / 1.032 GB, free: 7.949 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.2406, allocations: 334.8 kB / 1.032 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.2408, allocations: 67.95 kB / 1.032 GB, free: 7.547 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.2411, allocations: 209.1 kB / 1.032 GB, free: 7.309 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.2416, allocations: 197 kB / 1.032 GB, free: 7.098 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2416, allocations: 0 / 1.032 GB, free: 7.098 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005832/0.2421, allocations: 261.2 kB / 1.033 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2422, allocations: 7.938 kB / 1.033 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2422, allocations: 4 kB / 1.033 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.2422, allocations: 4.078 kB / 1.033 GB, free: 6.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.2424, allocations: 47.98 kB / 1.033 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.2424, allocations: 3.938 kB / 1.033 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.2426, allocations: 23.88 kB / 1.033 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.2427, allocations: 15.94 kB / 1.033 GB, free: 6.73 MB / 0.9948 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.0001913/0.2429, allocations: 145.8 kB / 1.033 GB, free: 6.578 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.2429, allocations: 31.86 kB / 1.033 GB, free: 6.547 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005672/0.2435, allocations: 233.6 kB / 1.033 GB, free: 6.316 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2435, allocations: 8 kB / 1.033 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2435, allocations: 0 / 1.033 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2435, allocations: 0 / 1.033 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.2447, allocations: 0.6246 MB / 1.034 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2447, allocations: 4.219 kB / 1.034 GB, free: 5.621 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.2449, allocations: 31.98 kB / 1.034 GB, free: 5.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2449, allocations: 0 / 1.034 GB, free: 5.59 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.2449, allocations: 7.984 kB / 1.034 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.2449, allocations: 7.938 kB / 1.034 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.245, allocations: 8 kB / 1.034 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/0.2458, allocations: 449 kB / 1.034 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.2459, allocations: 43.84 kB / 1.034 GB, free: 5.047 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.2459, allocations: 8 kB / 1.034 GB, free: 5.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.2461, allocations: 7.984 kB / 1.034 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.2462, allocations: 19.92 kB / 1.034 GB, free: 5.012 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.2462, allocations: 11.98 kB / 1.034 GB, free: 5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002232/0.2464, allocations: 177.2 kB / 1.035 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2464, allocations: 0 / 1.035 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004899/0.2469, allocations: 95.77 kB / 1.035 GB, free: 4.734 MB / 0.9948 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.0003377/0.2473, allocations: 158.3 kB / 1.035 GB, free: 4.574 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005121/0.2478, allocations: 171.8 kB / 1.035 GB, free: 4.406 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2478, allocations: 0 / 1.035 GB, free: 4.406 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.248, allocations: 91.83 kB / 1.035 GB, free: 4.316 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008185/0.2488, allocations: 123.8 kB / 1.035 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.2501, allocations: 0.5809 MB / 1.036 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.2504, allocations: 175.5 kB / 1.036 GB, free: 3.367 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001959/0.2506, allocations: 54.19 kB / 1.036 GB, free: 3.316 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.2506, allocations: 28.44 kB / 1.036 GB, free: 3.289 MB / 0.9948 GB Notification: Performance of SimCode: time 5.81e-07/0.2506, allocations: 0 / 1.036 GB, free: 3.289 MB / 0.9948 GB Notification: Performance of Templates: time 0.01127/0.2619, allocations: 4.727 MB / 1.041 GB, free: 14.69 MB / 1.01 GB " [Timeout remaining time 300] 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: 9.014370364020579]