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.001361/0.001361, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001746/0.001746, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.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.826/2.826, allocations: 476.8 MB / 0.7715 GB, free: 3.863 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) [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.00203/0.00203, allocations: 64.58 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3464, allocations: 169.9 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2011/0.5475, allocations: 147.6 MB / 1.428 GB, free: 6.516 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003303/0.5508, allocations: 1.491 MB / 1.43 GB, free: 5.023 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.5512, allocations: 19.88 kB / 1.43 GB, free: 5.004 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.5518, allocations: 154.8 kB / 1.43 GB, free: 4.852 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.5541, allocations: 0.7001 MB / 1.431 GB, free: 4.148 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.556, allocations: 0.6366 MB / 1.431 GB, free: 3.512 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.5572, allocations: 0.7216 MB / 1.432 GB, free: 2.785 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000482/0.5577, allocations: 196.5 kB / 1.432 GB, free: 2.594 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008574/0.5585, allocations: 374.7 kB / 1.432 GB, free: 2.227 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005404/0.5591, allocations: 238.9 kB / 1.433 GB, free: 1.992 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.94e-05/0.5591, allocations: 24 kB / 1.433 GB, free: 1.969 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.5608, allocations: 0.7323 MB / 1.433 GB, free: 1.234 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.561, allocations: 107.7 kB / 1.433 GB, free: 1.129 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.5613, allocations: 151.3 kB / 1.434 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.5629, allocations: 0.7023 MB / 1.434 GB, free: 284 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5629, allocations: 4 kB / 1.434 GB, free: 280 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5629, allocations: 0 / 1.434 GB, free: 280 kB / 1.123 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.5629, allocations: 0 / 1.434 GB, free: 280 kB / 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.001396/0.5643, allocations: 0.5939 MB / 1.435 GB, free: 15.65 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5644, allocations: 12.03 kB / 1.435 GB, free: 15.64 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.741e-05/0.5644, allocations: 8.5 kB / 1.435 GB, free: 15.63 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.299e-05/0.5645, allocations: 54.55 kB / 1.435 GB, free: 15.57 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.5658, allocations: 163.6 kB / 1.435 GB, free: 15.41 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006448/0.5664, allocations: 268.4 kB / 1.435 GB, free: 15.12 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.5664, allocations: 20.44 kB / 1.435 GB, free: 15.1 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.5665, allocations: 24 kB / 1.435 GB, free: 15.07 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.5671, allocations: 281.1 kB / 1.436 GB, free: 14.78 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5671, allocations: 0 / 1.436 GB, free: 14.78 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.5671, allocations: 12 kB / 1.436 GB, free: 14.77 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5671, allocations: 4 kB / 1.436 GB, free: 14.76 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.5676, allocations: 204.9 kB / 1.436 GB, free: 14.56 MB / 1.139 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.001567/0.5691, allocations: 1.003 MB / 1.437 GB, free: 13.5 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.5695, allocations: 146.3 kB / 1.437 GB, free: 13.35 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.5697, allocations: 100.7 kB / 1.437 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004939/0.5701, allocations: 67.92 kB / 1.437 GB, free: 13.18 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.5702, allocations: 38.56 kB / 1.437 GB, free: 13.13 MB / 1.139 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.5702, allocations: 0 / 1.437 GB, free: 13.13 MB / 1.139 GB Notification: Performance of matching and sorting (n=17): time 0.0008797/0.5711, allocations: 289.6 kB / 1.437 GB, free: 12.84 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.5711, allocations: 51.41 kB / 1.438 GB, free: 12.78 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.5715, allocations: 328.5 kB / 1.438 GB, free: 12.46 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.5715, allocations: 29.7 kB / 1.438 GB, free: 12.42 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.5717, allocations: 184.2 kB / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/0.5718, allocations: 59.47 kB / 1.438 GB, free: 12.18 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.5719, allocations: 49.66 kB / 1.438 GB, free: 12.12 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5721, allocations: 342.8 kB / 1.438 GB, free: 11.78 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.5723, allocations: 71.89 kB / 1.439 GB, free: 11.71 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.5725, allocations: 206 kB / 1.439 GB, free: 11.47 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.5729, allocations: 195.1 kB / 1.439 GB, free: 11.27 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.5729, allocations: 4 kB / 1.439 GB, free: 11.26 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005318/0.5735, allocations: 253.2 kB / 1.439 GB, free: 11.01 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5735, allocations: 10.34 kB / 1.439 GB, free: 11 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.5735, allocations: 4.094 kB / 1.439 GB, free: 11 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5735, allocations: 4 kB / 1.439 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.5737, allocations: 39.92 kB / 1.439 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.5737, allocations: 4 kB / 1.439 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.574, allocations: 35.77 kB / 1.439 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.574, allocations: 11.94 kB / 1.439 GB, free: 10.9 MB / 1.139 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.0001735/0.5742, allocations: 157.7 kB / 1.439 GB, free: 10.74 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.5742, allocations: 31.81 kB / 1.439 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.5747, allocations: 224.7 kB / 1.44 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5747, allocations: 4.078 kB / 1.44 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5748, allocations: 0 / 1.44 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5748, allocations: 3.984 kB / 1.44 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.5759, allocations: 0.6593 MB / 1.44 GB, free: 9.738 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5759, allocations: 0 / 1.44 GB, free: 9.738 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.5761, allocations: 39.92 kB / 1.44 GB, free: 9.699 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5761, allocations: 4 kB / 1.44 GB, free: 9.695 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.5761, allocations: 7.875 kB / 1.44 GB, free: 9.688 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.5761, allocations: 8 kB / 1.44 GB, free: 9.68 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5762, allocations: 4 kB / 1.44 GB, free: 9.676 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.5769, allocations: 457.2 kB / 1.441 GB, free: 9.191 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.577, allocations: 51.73 kB / 1.441 GB, free: 9.141 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.5771, allocations: 3.938 kB / 1.441 GB, free: 9.137 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.5772, allocations: 15.98 kB / 1.441 GB, free: 9.121 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.5773, allocations: 15.92 kB / 1.441 GB, free: 9.105 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.5773, allocations: 8 kB / 1.441 GB, free: 9.098 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002786/0.5776, allocations: 231 kB / 1.441 GB, free: 8.871 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5776, allocations: 0 / 1.441 GB, free: 8.871 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004324/0.578, allocations: 87.86 kB / 1.441 GB, free: 8.785 MB / 1.139 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.001378/0.5794, allocations: 1.025 MB / 1.442 GB, free: 7.711 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.5799, allocations: 187 kB / 1.442 GB, free: 7.531 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5799, allocations: 4.062 kB / 1.442 GB, free: 7.527 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.5801, allocations: 87.83 kB / 1.442 GB, free: 7.441 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009332/0.581, allocations: 167.9 kB / 1.443 GB, free: 7.285 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.5856, allocations: 3 MB / 1.446 GB, free: 4.137 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.5859, allocations: 179.7 kB / 1.446 GB, free: 3.945 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002844/0.5861, allocations: 66.92 kB / 1.446 GB, free: 3.879 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.5863, allocations: 95.41 kB / 1.446 GB, free: 3.785 MB / 1.139 GB Notification: Performance of SimCode: time 5.11e-07/0.5863, allocations: 0 / 1.446 GB, free: 3.785 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/0.6282, allocations: 9.828 MB / 1.455 GB, free: 10.3 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.69, allocations: 8 kB / 1.455 GB, free: 10.29 MB / 1.154 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 420.0] 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: 19.525191141990945]