Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006513/0.006513, allocations: 103.7 kB / 15.74 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 190.1 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.8011, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2073/1.008, allocations: 167.4 MB / 1.251 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002976/1.011, allocations: 1.555 MB / 1.252 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005623/1.012, allocations: 15.88 kB / 1.252 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000649/1.013, allocations: 150.9 kB / 1.253 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/1.015, allocations: 0.7117 MB / 1.253 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/1.016, allocations: 0.5957 MB / 1.254 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008995/1.017, allocations: 0.7254 MB / 1.255 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/1.018, allocations: 233 kB / 1.255 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007044/1.018, allocations: 342.7 kB / 1.255 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/1.019, allocations: 227 kB / 1.255 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.927e-05/1.019, allocations: 24 kB / 1.255 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/1.02, allocations: 0.8728 MB / 1.256 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/1.021, allocations: 99.7 kB / 1.256 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/1.021, allocations: 179.1 kB / 1.257 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/1.022, allocations: 0.7285 MB / 1.257 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/1.022, allocations: 4 kB / 1.257 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/1.022, allocations: 0 / 1.257 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.392e-05/1.022, allocations: 0 / 1.257 GB, free: 15.92 MB / 0.9981 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.001091/1.023, allocations: 0.66 MB / 1.258 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.023, allocations: 8.031 kB / 1.258 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.934e-05/1.023, allocations: 58.55 kB / 1.258 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/1.025, allocations: 163.3 kB / 1.258 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/1.025, allocations: 322.6 kB / 1.258 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/1.025, allocations: 24.5 kB / 1.258 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/1.025, allocations: 24 kB / 1.258 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/1.026, allocations: 289.8 kB / 1.259 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.026, allocations: 0 / 1.259 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/1.026, allocations: 12 kB / 1.259 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/1.026, allocations: 4 kB / 1.259 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/1.026, allocations: 204.9 kB / 1.259 GB, free: 14.05 MB / 0.9981 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.001495/1.028, allocations: 1.227 MB / 1.26 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/1.028, allocations: 146.5 kB / 1.26 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/1.028, allocations: 100.8 kB / 1.26 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006125/1.029, allocations: 299.2 kB / 1.261 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.029, allocations: 38.56 kB / 1.261 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/1.029, allocations: 3.938 kB / 1.261 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0009326/1.03, allocations: 299.7 kB / 1.261 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/1.03, allocations: 51.41 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/1.03, allocations: 320.5 kB / 1.261 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/1.03, allocations: 29.7 kB / 1.261 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/1.031, allocations: 188.1 kB / 1.262 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/1.031, allocations: 55.11 kB / 1.262 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/1.031, allocations: 49.64 kB / 1.262 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.031, allocations: 346.8 kB / 1.262 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/1.031, allocations: 67.95 kB / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/1.031, allocations: 126.5 kB / 1.262 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/1.032, allocations: 207.7 kB / 1.262 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/1.032, allocations: 0 / 1.262 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005156/1.032, allocations: 253 kB / 1.263 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.032, allocations: 8.094 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.032, allocations: 0 / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.032, allocations: 4 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/1.033, allocations: 43.97 kB / 1.263 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.033, allocations: 3.938 kB / 1.263 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/1.033, allocations: 35.67 kB / 1.263 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/1.033, allocations: 8 kB / 1.263 GB, free: 9.93 MB / 0.9981 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.0001461/1.033, allocations: 154.3 kB / 1.263 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/1.033, allocations: 27.86 kB / 1.263 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005199/1.034, allocations: 240.6 kB / 1.263 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/1.034, allocations: 0 / 1.263 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/1.034, allocations: 0 / 1.263 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.034, allocations: 4 kB / 1.263 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/1.035, allocations: 0.7068 MB / 1.264 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.035, allocations: 4 kB / 1.264 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/1.035, allocations: 31.98 kB / 1.264 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/1.035, allocations: 4.203 kB / 1.264 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.035, allocations: 11.94 kB / 1.264 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/1.035, allocations: 7.938 kB / 1.264 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.035, allocations: 3.984 kB / 1.264 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006982/1.036, allocations: 459.2 kB / 1.264 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/1.036, allocations: 124.7 kB / 1.264 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/1.036, allocations: 15.92 kB / 1.264 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/1.036, allocations: 4 kB / 1.264 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/1.036, allocations: 20.05 kB / 1.264 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/1.036, allocations: 8 kB / 1.264 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002305/1.036, allocations: 227 kB / 1.265 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.036, allocations: 96 / 1.265 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004101/1.037, allocations: 83.92 kB / 1.265 GB, free: 7.68 MB / 0.9981 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.001248/1.038, allocations: 1.049 MB / 1.266 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004541/1.038, allocations: 179.9 kB / 1.266 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.038, allocations: 4.062 kB / 1.266 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/1.039, allocations: 95.81 kB / 1.266 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/1.04, allocations: 164.3 kB / 1.266 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/1.044, allocations: 2.995 MB / 1.269 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/1.044, allocations: 0.7834 MB / 1.27 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002246/1.045, allocations: 70.92 kB / 1.27 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/1.045, allocations: 91.41 kB / 1.27 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.045, allocations: 0 / 1.27 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/1.075, allocations: 9.023 MB / 1.279 GB, free: 9.188 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/9.045, allocations: 2.438 kB / 1.279 GB, free: 9.188 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches