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.001927/0.001927, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001557/0.001557, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.992 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.886/2.886, allocations: 476.7 MB / 0.7707 GB, free: 4.41 MB / 0.6231 GB " [Timeout remaining time 176] 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="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: 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.002117/0.002117, allocations: 68.44 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3577, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2078/0.5655, allocations: 171 MB / 1.45 GB, free: 36 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.5687, allocations: 1.565 MB / 1.452 GB, free: 14.47 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004463/0.5691, allocations: 19.81 kB / 1.452 GB, free: 14.45 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005979/0.5697, allocations: 154.9 kB / 1.452 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.5718, allocations: 0.7468 MB / 1.453 GB, free: 13.55 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.5736, allocations: 0.6422 MB / 1.453 GB, free: 12.91 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.5747, allocations: 0.7332 MB / 1.454 GB, free: 12.17 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004636/0.5752, allocations: 189.1 kB / 1.454 GB, free: 11.98 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008667/0.5761, allocations: 366.6 kB / 1.455 GB, free: 11.62 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.5766, allocations: 243 kB / 1.455 GB, free: 11.38 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/0.5766, allocations: 24 kB / 1.455 GB, free: 11.36 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.5786, allocations: 0.9507 MB / 1.456 GB, free: 10.41 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.5788, allocations: 115.6 kB / 1.456 GB, free: 10.29 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.579, allocations: 171.1 kB / 1.456 GB, free: 10.12 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.5807, allocations: 0.7282 MB / 1.457 GB, free: 9.398 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.5807, allocations: 0 / 1.457 GB, free: 9.398 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5807, allocations: 0 / 1.457 GB, free: 9.398 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.5807, allocations: 0 / 1.457 GB, free: 9.398 MB / 1.154 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.001301/0.582, allocations: 0.6018 MB / 1.457 GB, free: 8.766 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5821, allocations: 8.031 kB / 1.457 GB, free: 8.758 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.556e-05/0.5822, allocations: 62.53 kB / 1.458 GB, free: 8.688 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.5834, allocations: 155.6 kB / 1.458 GB, free: 8.535 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.584, allocations: 264.5 kB / 1.458 GB, free: 8.25 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.5841, allocations: 24.44 kB / 1.458 GB, free: 8.227 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.5841, allocations: 27.98 kB / 1.458 GB, free: 8.199 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.5847, allocations: 281 kB / 1.458 GB, free: 7.902 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5847, allocations: 0 / 1.458 GB, free: 7.902 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.5847, allocations: 12 kB / 1.458 GB, free: 7.891 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.5847, allocations: 4 kB / 1.458 GB, free: 7.887 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.5852, allocations: 204.9 kB / 1.458 GB, free: 7.688 MB / 1.154 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.001764/0.587, allocations: 1.196 MB / 1.46 GB, free: 6.395 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.5873, allocations: 154.4 kB / 1.46 GB, free: 6.234 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.5875, allocations: 88.8 kB / 1.46 GB, free: 6.145 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005325/0.588, allocations: 71.92 kB / 1.46 GB, free: 6.074 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.5881, allocations: 34.56 kB / 1.46 GB, free: 6.031 MB / 1.154 GB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.5881, allocations: 0 / 1.46 GB, free: 6.031 MB / 1.154 GB Notification: Performance of matching and sorting (n=17): time 0.0008957/0.589, allocations: 293.5 kB / 1.46 GB, free: 5.738 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.589, allocations: 51.41 kB / 1.46 GB, free: 5.676 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.5895, allocations: 328.5 kB / 1.461 GB, free: 5.352 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.5895, allocations: 29.7 kB / 1.461 GB, free: 5.316 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.5897, allocations: 184.2 kB / 1.461 GB, free: 5.133 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.5897, allocations: 59.47 kB / 1.461 GB, free: 5.074 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.5898, allocations: 53.59 kB / 1.461 GB, free: 5.016 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.59, allocations: 342.8 kB / 1.461 GB, free: 4.672 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.5902, allocations: 63.95 kB / 1.461 GB, free: 4.609 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.5904, allocations: 136 kB / 1.461 GB, free: 4.461 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.5908, allocations: 200.9 kB / 1.462 GB, free: 4.246 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5908, allocations: 0 / 1.462 GB, free: 4.246 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005541/0.5914, allocations: 260.6 kB / 1.462 GB, free: 3.988 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5914, allocations: 6.344 kB / 1.462 GB, free: 3.984 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5914, allocations: 0 / 1.462 GB, free: 3.984 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5914, allocations: 7.938 kB / 1.462 GB, free: 3.977 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.5917, allocations: 44.08 kB / 1.462 GB, free: 3.934 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.5917, allocations: 3.938 kB / 1.462 GB, free: 3.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.5919, allocations: 35.77 kB / 1.462 GB, free: 3.895 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.5919, allocations: 12 kB / 1.462 GB, free: 3.883 MB / 1.154 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.000183/0.5921, allocations: 149.8 kB / 1.462 GB, free: 3.727 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/0.5922, allocations: 31.81 kB / 1.462 GB, free: 3.695 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.5927, allocations: 232.6 kB / 1.462 GB, free: 3.457 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5928, allocations: 0 / 1.462 GB, free: 3.457 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5928, allocations: 0 / 1.462 GB, free: 3.457 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.5928, allocations: 4 kB / 1.462 GB, free: 3.453 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.594, allocations: 0.6825 MB / 1.463 GB, free: 2.699 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.594, allocations: 0 / 1.463 GB, free: 2.699 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.5942, allocations: 35.97 kB / 1.463 GB, free: 2.664 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5942, allocations: 0 / 1.463 GB, free: 2.664 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.5942, allocations: 11.94 kB / 1.463 GB, free: 2.652 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.5942, allocations: 7.938 kB / 1.463 GB, free: 2.645 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5942, allocations: 4.219 kB / 1.463 GB, free: 2.641 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.595, allocations: 461 kB / 1.464 GB, free: 2.152 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.5951, allocations: 43.8 kB / 1.464 GB, free: 2.109 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.5951, allocations: 11.92 kB / 1.464 GB, free: 2.098 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.5953, allocations: 8 kB / 1.464 GB, free: 2.09 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.5954, allocations: 16.11 kB / 1.464 GB, free: 2.074 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.5954, allocations: 16.05 kB / 1.464 GB, free: 2.059 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002904/0.5957, allocations: 231 kB / 1.464 GB, free: 1.832 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5957, allocations: 3.938 kB / 1.464 GB, free: 1.828 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004469/0.5961, allocations: 83.88 kB / 1.464 GB, free: 1.746 MB / 1.154 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.001304/0.5974, allocations: 1.042 MB / 1.465 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004664/0.5979, allocations: 175.8 kB / 1.465 GB, free: 496 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5979, allocations: 0 / 1.465 GB, free: 496 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.5981, allocations: 84.45 kB / 1.465 GB, free: 412 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008687/0.599, allocations: 162.2 kB / 1.465 GB, free: 252 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.6035, allocations: 3.008 MB / 1.468 GB, free: 13.09 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.6039, allocations: 0.7834 MB / 1.469 GB, free: 12.28 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002537/0.6042, allocations: 62.92 kB / 1.469 GB, free: 12.22 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.6044, allocations: 87.41 kB / 1.469 GB, free: 12.14 MB / 1.17 GB Notification: Performance of SimCode: time 1.282e-06/0.6044, allocations: 4 kB / 1.469 GB, free: 12.13 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04673/0.6511, allocations: 9.269 MB / 1.478 GB, free: 3.102 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.55, allocations: 6.125 kB / 1.478 GB, free: 3.102 MB / 1.17 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.295793297002092]