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.00112/0.00112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001206, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.438/2.438, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 79.86 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.672, allocations: 140.3 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.178/0.85, allocations: 167.4 MB / 1.113 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.8525, allocations: 1.558 MB / 1.115 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.8528, allocations: 11.94 kB / 1.115 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.8533, allocations: 158.8 kB / 1.115 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.8548, allocations: 0.7 MB / 1.116 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.8561, allocations: 0.6031 MB / 1.116 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007497/0.8569, allocations: 0.7215 MB / 1.117 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/0.8573, allocations: 233.1 kB / 1.117 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006734/0.8579, allocations: 342.6 kB / 1.117 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.8583, allocations: 227.1 kB / 1.118 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.8584, allocations: 20 kB / 1.118 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.8598, allocations: 0.8689 MB / 1.118 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.86, allocations: 115.6 kB / 1.119 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.8602, allocations: 167.1 kB / 1.119 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.8615, allocations: 0.7247 MB / 1.119 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8615, allocations: 0 / 1.119 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8615, allocations: 0 / 1.119 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.8615, allocations: 0 / 1.119 GB, free: 3.355 MB / 0.8731 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.0009464/0.8624, allocations: 0.6598 MB / 1.12 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.8625, allocations: 16.03 kB / 1.12 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.8625, allocations: 58.55 kB / 1.12 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.8637, allocations: 155.4 kB / 1.12 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.8641, allocations: 314.6 kB / 1.121 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.8642, allocations: 20.5 kB / 1.121 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.8642, allocations: 24 kB / 1.121 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.8647, allocations: 285.8 kB / 1.121 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8647, allocations: 0 / 1.121 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.8648, allocations: 8 kB / 1.121 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.8648, allocations: 8 kB / 1.121 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.8652, allocations: 204.7 kB / 1.121 GB, free: 1.508 MB / 0.8731 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.001347/0.8666, allocations: 1.234 MB / 1.122 GB, free: 172 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.8668, allocations: 146.5 kB / 1.123 GB, free: 16 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.867, allocations: 104.9 kB / 1.123 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/0.8676, allocations: 299.2 kB / 1.123 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.8677, allocations: 34.56 kB / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.8677, allocations: 3.938 kB / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17): time 0.0007544/0.8684, allocations: 299.5 kB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.8685, allocations: 55.41 kB / 1.123 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.8688, allocations: 320.5 kB / 1.124 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.8688, allocations: 33.7 kB / 1.124 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.869, allocations: 180.2 kB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.869, allocations: 67.05 kB / 1.124 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.8691, allocations: 41.7 kB / 1.124 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8692, allocations: 338.8 kB / 1.124 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.8694, allocations: 67.95 kB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.8696, allocations: 128.9 kB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.87, allocations: 200.9 kB / 1.125 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.87, allocations: 0 / 1.125 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000459/0.8704, allocations: 262.4 kB / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8705, allocations: 4 kB / 1.125 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8705, allocations: 4 kB / 1.125 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.8705, allocations: 0 / 1.125 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.8707, allocations: 39.98 kB / 1.125 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.8707, allocations: 7.938 kB / 1.125 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.8709, allocations: 31.67 kB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.8709, allocations: 12.09 kB / 1.125 GB, free: 13.38 MB / 0.8887 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.0001371/0.8711, allocations: 157.8 kB / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.8711, allocations: 27.77 kB / 1.125 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.8716, allocations: 238.6 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.8716, allocations: 4 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8716, allocations: 0 / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.8717, allocations: 0 / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.8727, allocations: 0.7225 MB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.8727, allocations: 4 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.8728, allocations: 31.98 kB / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.8729, allocations: 0 / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.8729, allocations: 7.938 kB / 1.126 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8729, allocations: 7.938 kB / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8729, allocations: 4 kB / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.8735, allocations: 445.2 kB / 1.127 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.8737, allocations: 128.7 kB / 1.127 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.8737, allocations: 11.94 kB / 1.127 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.8739, allocations: 11.98 kB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.874, allocations: 11.98 kB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.874, allocations: 8 kB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002064/0.8742, allocations: 235 kB / 1.127 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8742, allocations: 0 / 1.127 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003769/0.8746, allocations: 83.84 kB / 1.127 GB, free: 11.12 MB / 0.8887 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.001084/0.8757, allocations: 1.048 MB / 1.128 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004128/0.8761, allocations: 190.5 kB / 1.128 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8761, allocations: 0 / 1.128 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.8763, allocations: 91.83 kB / 1.128 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/0.8771, allocations: 173.8 kB / 1.128 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.8806, allocations: 3.024 MB / 1.131 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.881, allocations: 0.7756 MB / 1.132 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000204/0.8812, allocations: 62.94 kB / 1.132 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.8813, allocations: 95.41 kB / 1.132 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of SimCode: time 2.51e-07/0.8813, allocations: 0 / 1.132 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.9103, allocations: 8.924 MB / 1.141 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.747, allocations: 5.469 kB / 1.141 GB, free: 12.7 MB / 0.9044 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