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.001946/0.001946, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001961/0.001961, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.632/1.632, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.092/3.092, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.605e-05, allocations: 8.781 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2395/0.2395, allocations: 163.6 MB / 0.9706 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003546/0.2431, allocations: 1.589 MB / 0.9722 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.2433, allocations: 19.81 kB / 0.9722 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.2438, allocations: 154.8 kB / 0.9724 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.2457, allocations: 0.7229 MB / 0.9731 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.2474, allocations: 0.6578 MB / 0.9737 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000964/0.2483, allocations: 0.7175 MB / 0.9744 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.2487, allocations: 197.2 kB / 0.9746 GB, free: 9.832 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.25, allocations: 0.6113 MB / 0.9752 GB, free: 9.219 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.2503, allocations: 199.4 kB / 0.9754 GB, free: 9.023 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.2504, allocations: 20 kB / 0.9754 GB, free: 9.004 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.2517, allocations: 0.7164 MB / 0.9761 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2519, allocations: 119.6 kB / 0.9762 GB, free: 8.168 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.2521, allocations: 123.7 kB / 0.9763 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.2533, allocations: 0.74 MB / 0.9771 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2533, allocations: 0 / 0.9771 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2533, allocations: 0 / 0.9771 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.2533, allocations: 7.938 kB / 0.9771 GB, free: 7.297 MB / 0.9323 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.001178/0.2545, allocations: 0.7053 MB / 0.9778 GB, free: 6.555 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2546, allocations: 11.97 kB / 0.9778 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.2558, allocations: 211.2 kB / 0.978 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.2563, allocations: 275.4 kB / 0.9782 GB, free: 6.043 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.2564, allocations: 16.5 kB / 0.9782 GB, free: 6.027 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.2564, allocations: 24 kB / 0.9783 GB, free: 6.004 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.257, allocations: 275.1 kB / 0.9785 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.257, allocations: 0 / 0.9785 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.257, allocations: 11.94 kB / 0.9785 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.257, allocations: 8 kB / 0.9786 GB, free: 5.691 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.2574, allocations: 149 kB / 0.9787 GB, free: 5.547 MB / 0.9323 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.00182/0.2592, allocations: 1.212 MB / 0.9799 GB, free: 4.277 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.2595, allocations: 130.9 kB / 0.98 GB, free: 4.137 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2596, allocations: 71.59 kB / 0.9801 GB, free: 4.062 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004494/0.2601, allocations: 63.94 kB / 0.9801 GB, free: 4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.2601, allocations: 33.39 kB / 0.9802 GB, free: 3.957 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=17): time 1.143e-06/0.2601, allocations: 4 kB / 0.9802 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of matching and sorting (n=17): time 0.0007263/0.2608, allocations: 242.5 kB / 0.9804 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.2609, allocations: 59.41 kB / 0.9805 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.2613, allocations: 334.3 kB / 0.9808 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.2613, allocations: 33.7 kB / 0.9808 GB, free: 3.258 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.2615, allocations: 239 kB / 0.981 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.2616, allocations: 63.48 kB / 0.9811 GB, free: 2.957 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2617, allocations: 59.31 kB / 0.9812 GB, free: 2.891 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003191/0.262, allocations: 0.5196 MB / 0.9817 GB, free: 2.359 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2621, allocations: 51.97 kB / 0.9817 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.2624, allocations: 203.2 kB / 0.9819 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.2628, allocations: 184.1 kB / 0.9821 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.2628, allocations: 4 kB / 0.9821 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004665/0.2633, allocations: 217.3 kB / 0.9823 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2633, allocations: 11.94 kB / 0.9823 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2633, allocations: 0 / 0.9823 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2633, allocations: 4 kB / 0.9823 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.2635, allocations: 48 kB / 0.9824 GB, free: 1.578 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.2635, allocations: 4 kB / 0.9824 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.2637, allocations: 19.84 kB / 0.9824 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.2637, allocations: 12 kB / 0.9824 GB, free: 1.543 MB / 0.9323 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.00018/0.2639, allocations: 184.5 kB / 0.9826 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.264, allocations: 31.86 kB / 0.9826 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.2644, allocations: 193 kB / 0.9828 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2644, allocations: 4 kB / 0.9828 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2644, allocations: 3.938 kB / 0.9828 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2644, allocations: 4 kB / 0.9828 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.2656, allocations: 0.6744 MB / 0.9834 GB, free: 376 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2656, allocations: 0 / 0.9834 GB, free: 376 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.2658, allocations: 31.98 kB / 0.9835 GB, free: 344 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2658, allocations: 0 / 0.9835 GB, free: 344 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.2658, allocations: 12.22 kB / 0.9835 GB, free: 332 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.2658, allocations: 7.984 kB / 0.9835 GB, free: 324 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.2658, allocations: 3.938 kB / 0.9835 GB, free: 320 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.2665, allocations: 463.6 kB / 0.9839 GB, free: 15.81 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.2667, allocations: 43.92 kB / 0.984 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.2667, allocations: 0 / 0.984 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.2668, allocations: 15.97 kB / 0.984 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.2669, allocations: 23.92 kB / 0.984 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.2669, allocations: 8 kB / 0.984 GB, free: 15.72 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002202/0.2671, allocations: 231 kB / 0.9842 GB, free: 15.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2671, allocations: 4 kB / 0.9843 GB, free: 15.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004146/0.2676, allocations: 91.83 kB / 0.9843 GB, free: 15.41 MB / 0.948 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.0002942/0.2678, allocations: 151.1 kB / 0.9845 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004087/0.2683, allocations: 155.5 kB / 0.9846 GB, free: 15.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2683, allocations: 192 / 0.9846 GB, free: 15.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.2684, allocations: 83.53 kB / 0.9847 GB, free: 15.01 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.2692, allocations: 120.6 kB / 0.9848 GB, free: 14.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.2703, allocations: 0.606 MB / 0.9854 GB, free: 14.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2705, allocations: 171.3 kB / 0.9856 GB, free: 14.04 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001628/0.2707, allocations: 46.25 kB / 0.9856 GB, free: 14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.2708, allocations: 20.5 kB / 0.9856 GB, free: 13.98 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.2708, allocations: 4 kB / 0.9857 GB, free: 13.97 MB / 0.948 GB Notification: Performance of Templates: time 0.01219/0.283, allocations: 4.919 MB / 0.9905 GB, free: 9.203 MB / 0.948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.949856944964267]