Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_10_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.001123/0.001123, 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.001104/0.001104, 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.672/0.6734, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1701/0.8436, allocations: 167.4 MB / 1.181 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.8463, allocations: 1.561 MB / 1.182 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.8466, allocations: 11.94 kB / 1.182 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.8471, allocations: 150.9 kB / 1.183 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.8489, allocations: 0.7078 MB / 1.183 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.8505, allocations: 0.6023 MB / 1.184 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007921/0.8513, allocations: 0.7215 MB / 1.185 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.8516, allocations: 237 kB / 1.185 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006052/0.8523, allocations: 342.7 kB / 1.185 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.8525, allocations: 231 kB / 1.185 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.8526, allocations: 28 kB / 1.185 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.8541, allocations: 0.8611 MB / 1.186 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.8543, allocations: 111.7 kB / 1.186 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.8544, allocations: 163.2 kB / 1.186 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009708/0.8554, allocations: 0.7285 MB / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8554, allocations: 0 / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8554, allocations: 0 / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8554, allocations: 0 / 1.187 GB, free: 3.984 MB / 0.9356 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.0008855/0.8563, allocations: 0.6661 MB / 1.188 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8564, allocations: 8.031 kB / 1.188 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.756e-05/0.8564, allocations: 58.55 kB / 1.188 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.8576, allocations: 147.5 kB / 1.188 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.858, allocations: 322.5 kB / 1.188 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.858, allocations: 20.5 kB / 1.188 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.8581, allocations: 20 kB / 1.188 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.8585, allocations: 285.9 kB / 1.189 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8586, allocations: 3.938 kB / 1.189 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.8586, allocations: 8 kB / 1.189 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.8586, allocations: 4 kB / 1.189 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.859, allocations: 200.9 kB / 1.189 GB, free: 2.145 MB / 0.9356 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.001322/0.8604, allocations: 1.234 MB / 1.19 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.8606, allocations: 158.4 kB / 1.19 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.8608, allocations: 92.8 kB / 1.19 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006426/0.8615, allocations: 299.2 kB / 1.191 GB, free: 204 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.8615, allocations: 34.56 kB / 1.191 GB, free: 160 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.8615, allocations: 0 / 1.191 GB, free: 160 kB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0007755/0.8623, allocations: 294.6 kB / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.8624, allocations: 55.41 kB / 1.191 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.8627, allocations: 324.5 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.8627, allocations: 33.64 kB / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.8628, allocations: 180.1 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.8629, allocations: 63.17 kB / 1.192 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.863, allocations: 53.61 kB / 1.192 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8631, allocations: 338.8 kB / 1.192 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.8633, allocations: 71.95 kB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.8635, allocations: 125.1 kB / 1.192 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.8638, allocations: 193 kB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8639, allocations: 4 kB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004514/0.8643, allocations: 250.3 kB / 1.193 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8643, allocations: 13.08 kB / 1.193 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8643, allocations: 0 / 1.193 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.8644, allocations: 4 kB / 1.193 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.8646, allocations: 43.92 kB / 1.193 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8646, allocations: 4 kB / 1.193 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.8648, allocations: 39.77 kB / 1.193 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.8648, allocations: 8 kB / 1.193 GB, free: 14 MB / 0.9512 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.0001441/0.865, allocations: 153.7 kB / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.865, allocations: 35.62 kB / 1.193 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.8655, allocations: 228.6 kB / 1.193 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.8655, allocations: 8 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8655, allocations: 0 / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8655, allocations: 0 / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009864/0.8665, allocations: 0.7068 MB / 1.194 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8666, allocations: 0 / 1.194 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.8667, allocations: 43.91 kB / 1.194 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.8667, allocations: 4 kB / 1.194 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.8668, allocations: 7.938 kB / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.8668, allocations: 3.938 kB / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8668, allocations: 7.938 kB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.8674, allocations: 451 kB / 1.194 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.8675, allocations: 120.8 kB / 1.194 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.8676, allocations: 7.938 kB / 1.194 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.8678, allocations: 15.92 kB / 1.194 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.8678, allocations: 11.98 kB / 1.194 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.8678, allocations: 8 kB / 1.194 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002101/0.8681, allocations: 235.1 kB / 1.195 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8681, allocations: 0 / 1.195 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003774/0.8684, allocations: 87.94 kB / 1.195 GB, free: 11.75 MB / 0.9512 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.001115/0.8696, allocations: 1.051 MB / 1.196 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.87, allocations: 191.7 kB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.87, allocations: 4 kB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.8702, allocations: 88.39 kB / 1.196 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008516/0.8711, allocations: 167.7 kB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.8746, allocations: 3.019 MB / 1.199 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.8749, allocations: 0.7871 MB / 1.2 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000215/0.8752, allocations: 66.92 kB / 1.2 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.8753, allocations: 91.41 kB / 1.2 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of SimCode: time 1.633e-06/0.8753, allocations: 0 / 1.2 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.9039, allocations: 8.932 MB / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/8.426, allocations: 13.59 kB / 1.209 GB, free: 13.31 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches