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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.505/2.505, allocations: 476.7 MB / 0.7628 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 72.11 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7957/0.7975, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1924/0.9899, allocations: 168.1 MB / 1.436 GB, free: 10.03 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002847/0.9928, allocations: 1.573 MB / 1.437 GB, free: 8.746 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.993, allocations: 12 kB / 1.437 GB, free: 8.742 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.9935, allocations: 152.2 kB / 1.437 GB, free: 8.609 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.9952, allocations: 0.7341 MB / 1.438 GB, free: 8.059 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.9967, allocations: 0.6239 MB / 1.439 GB, free: 7.598 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008511/0.9975, allocations: 0.7209 MB / 1.439 GB, free: 7.18 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.9979, allocations: 193.4 kB / 1.44 GB, free: 7.051 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.9985, allocations: 354.1 kB / 1.44 GB, free: 6.852 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.9988, allocations: 245.5 kB / 1.44 GB, free: 6.703 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.9988, allocations: 22.72 kB / 1.44 GB, free: 6.703 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/1, allocations: 0.9271 MB / 1.441 GB, free: 6.164 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/1, allocations: 114.3 kB / 1.441 GB, free: 6.086 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/1.001, allocations: 164.8 kB / 1.441 GB, free: 5.988 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001055/1.002, allocations: 0.7391 MB / 1.442 GB, free: 5.543 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/1.002, allocations: 1.594 kB / 1.442 GB, free: 5.543 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.513e-06/1.002, allocations: 0 / 1.442 GB, free: 5.543 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.12e-05/1.002, allocations: 0 / 1.442 GB, free: 5.543 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.0009593/1.003, allocations: 0.6717 MB / 1.443 GB, free: 4.945 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.003, allocations: 13.19 kB / 1.443 GB, free: 4.941 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/1.003, allocations: 54.27 kB / 1.443 GB, free: 4.887 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/1.004, allocations: 156.9 kB / 1.443 GB, free: 4.812 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/1.004, allocations: 337.4 kB / 1.443 GB, free: 4.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/1.004, allocations: 17.75 kB / 1.443 GB, free: 4.492 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/1.004, allocations: 23.75 kB / 1.443 GB, free: 4.484 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/1.005, allocations: 283.7 kB / 1.443 GB, free: 4.289 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.005, allocations: 1.094 kB / 1.443 GB, free: 4.289 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/1.005, allocations: 21.48 kB / 1.444 GB, free: 4.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.005, allocations: 5.625 kB / 1.444 GB, free: 4.27 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/1.005, allocations: 200.9 kB / 1.444 GB, free: 4.09 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.001413/1.007, allocations: 1.227 MB / 1.445 GB, free: 2.758 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/1.007, allocations: 134.5 kB / 1.445 GB, free: 2.617 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/1.007, allocations: 97.11 kB / 1.445 GB, free: 2.52 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005562/1.008, allocations: 303.2 kB / 1.445 GB, free: 2.168 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/1.008, allocations: 34.55 kB / 1.445 GB, free: 2.125 MB / 1.123 GB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/1.008, allocations: 4 kB / 1.445 GB, free: 2.121 MB / 1.123 GB Notification: Performance of matching and sorting (n=17): time 0.0007532/1.009, allocations: 295.3 kB / 1.446 GB, free: 1.828 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.009, allocations: 51.41 kB / 1.446 GB, free: 1.766 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/1.009, allocations: 320.5 kB / 1.446 GB, free: 1.445 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/1.009, allocations: 33.7 kB / 1.446 GB, free: 1.406 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/1.009, allocations: 188.3 kB / 1.446 GB, free: 1.219 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/1.009, allocations: 63.47 kB / 1.446 GB, free: 1.156 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/1.009, allocations: 45.7 kB / 1.446 GB, free: 1.105 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.009, allocations: 342.8 kB / 1.447 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/1.01, allocations: 63.95 kB / 1.447 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/1.01, allocations: 134.5 kB / 1.447 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/1.01, allocations: 208.5 kB / 1.447 GB, free: 340 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.01, allocations: 0 / 1.447 GB, free: 340 kB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004746/1.011, allocations: 257.3 kB / 1.447 GB, free: 76 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/1.011, allocations: 4 kB / 1.447 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.011, allocations: 4 kB / 1.447 GB, free: 68 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.011, allocations: 0 / 1.447 GB, free: 68 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/1.011, allocations: 43.97 kB / 1.447 GB, free: 24 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.011, allocations: 7.938 kB / 1.447 GB, free: 16 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/1.011, allocations: 31.95 kB / 1.447 GB, free: 15.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/1.011, allocations: 16.09 kB / 1.447 GB, free: 15.96 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.0001391/1.011, allocations: 149.6 kB / 1.448 GB, free: 15.81 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/1.011, allocations: 31.77 kB / 1.448 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/1.012, allocations: 234.5 kB / 1.448 GB, free: 15.55 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.012, allocations: 7.984 kB / 1.448 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.012, allocations: 0 / 1.448 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.012, allocations: 0 / 1.448 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/1.013, allocations: 0.7148 MB / 1.449 GB, free: 14.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.013, allocations: 0 / 1.449 GB, free: 14.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/1.013, allocations: 31.98 kB / 1.449 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.013, allocations: 0 / 1.449 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.013, allocations: 15.92 kB / 1.449 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/1.013, allocations: 7.938 kB / 1.449 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.013, allocations: 4 kB / 1.449 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/1.014, allocations: 449.2 kB / 1.449 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/1.014, allocations: 124.9 kB / 1.449 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/1.014, allocations: 19.92 kB / 1.449 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/1.014, allocations: 8 kB / 1.449 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/1.014, allocations: 11.98 kB / 1.449 GB, free: 14.03 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/1.014, allocations: 8 kB / 1.449 GB, free: 14.02 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002293/1.014, allocations: 231 kB / 1.449 GB, free: 13.8 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.014, allocations: 0 / 1.449 GB, free: 13.8 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003747/1.015, allocations: 87.88 kB / 1.45 GB, free: 13.71 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.001172/1.016, allocations: 1.048 MB / 1.451 GB, free: 12.62 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004114/1.016, allocations: 180 kB / 1.451 GB, free: 12.45 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.016, allocations: 0 / 1.451 GB, free: 12.45 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/1.016, allocations: 87.81 kB / 1.451 GB, free: 12.36 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/1.017, allocations: 169.1 kB / 1.451 GB, free: 12.2 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/1.021, allocations: 3.018 MB / 1.454 GB, free: 9.035 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/1.021, allocations: 0.7834 MB / 1.455 GB, free: 8.223 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001812/1.021, allocations: 66.86 kB / 1.455 GB, free: 8.16 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/1.021, allocations: 91.41 kB / 1.455 GB, free: 8.07 MB / 1.139 GB Notification: Performance of SimCode: time 4.71e-07/1.021, allocations: 0 / 1.455 GB, free: 8.07 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/1.054, allocations: 9.09 MB / 1.464 GB, free: 15.17 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/8.454, allocations: 9.609 kB / 1.464 GB, free: 15.16 MB / 1.154 GB " [Timeout remaining time 291] (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 --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: 13.741611817999]