Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_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.007222/0.007222, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.00137/0.00137, allocations: 197.4 kB / 16.68 MB, free: 5.957 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.8683, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2101/1.078, allocations: 167.4 MB / 1.371 GB, free: 5.492 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003244/1.082, allocations: 1.565 MB / 1.372 GB, free: 3.926 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005632/1.082, allocations: 15.94 kB / 1.372 GB, free: 3.91 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006518/1.083, allocations: 146.9 kB / 1.372 GB, free: 3.766 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/1.085, allocations: 0.7039 MB / 1.373 GB, free: 3.059 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/1.087, allocations: 0.6068 MB / 1.374 GB, free: 2.453 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001274/1.089, allocations: 0.7176 MB / 1.374 GB, free: 1.734 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/1.089, allocations: 240.8 kB / 1.375 GB, free: 1.496 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009121/1.09, allocations: 346.7 kB / 1.375 GB, free: 1.156 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004505/1.091, allocations: 231.1 kB / 1.375 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/1.091, allocations: 24 kB / 1.375 GB, free: 0.9062 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/1.092, allocations: 0.865 MB / 1.376 GB, free: 40 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/1.093, allocations: 111.6 kB / 1.376 GB, free: 15.93 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002897/1.093, allocations: 175.1 kB / 1.376 GB, free: 15.76 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002283/1.095, allocations: 0.7207 MB / 1.377 GB, free: 15.04 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/1.095, allocations: 7.875 kB / 1.377 GB, free: 15.03 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.745e-06/1.095, allocations: 0 / 1.377 GB, free: 15.03 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.302e-05/1.095, allocations: 0 / 1.377 GB, free: 15.03 MB / 1.107 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.001758/1.097, allocations: 0.6662 MB / 1.378 GB, free: 14.31 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/1.097, allocations: 8.031 kB / 1.378 GB, free: 14.3 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/1.097, allocations: 58.53 kB / 1.378 GB, free: 14.23 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/1.099, allocations: 163.3 kB / 1.378 GB, free: 14.07 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000716/1.099, allocations: 322.7 kB / 1.378 GB, free: 13.72 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/1.099, allocations: 20.5 kB / 1.378 GB, free: 13.7 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/1.1, allocations: 23.94 kB / 1.378 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/1.1, allocations: 289.8 kB / 1.379 GB, free: 13.38 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.1, allocations: 0 / 1.379 GB, free: 13.38 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/1.1, allocations: 8 kB / 1.379 GB, free: 13.37 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/1.1, allocations: 4 kB / 1.379 GB, free: 13.36 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/1.101, allocations: 200.9 kB / 1.379 GB, free: 13.17 MB / 1.107 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.002332/1.103, allocations: 1.23 MB / 1.38 GB, free: 11.83 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/1.104, allocations: 154.4 kB / 1.38 GB, free: 11.67 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/1.104, allocations: 92.8 kB / 1.38 GB, free: 11.58 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006163/1.105, allocations: 299.2 kB / 1.38 GB, free: 11.23 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/1.105, allocations: 38.56 kB / 1.381 GB, free: 11.18 MB / 1.107 GB Notification: Performance of pre-optimization done (n=17): time 3.086e-06/1.105, allocations: 0 / 1.381 GB, free: 11.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=17): time 0.000835/1.105, allocations: 295.6 kB / 1.381 GB, free: 10.89 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.106, allocations: 51.41 kB / 1.381 GB, free: 10.83 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/1.106, allocations: 332.4 kB / 1.381 GB, free: 10.5 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/1.106, allocations: 25.7 kB / 1.381 GB, free: 10.47 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/1.106, allocations: 184.2 kB / 1.381 GB, free: 10.29 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/1.106, allocations: 59.09 kB / 1.381 GB, free: 10.23 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/1.106, allocations: 49.7 kB / 1.381 GB, free: 10.17 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.107, allocations: 338.8 kB / 1.382 GB, free: 9.832 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/1.107, allocations: 67.95 kB / 1.382 GB, free: 9.766 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/1.107, allocations: 139.2 kB / 1.382 GB, free: 9.613 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/1.107, allocations: 201 kB / 1.382 GB, free: 9.398 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.107, allocations: 0 / 1.382 GB, free: 9.398 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005198/1.108, allocations: 253 kB / 1.382 GB, free: 9.145 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.108, allocations: 4 kB / 1.382 GB, free: 9.141 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.108, allocations: 0 / 1.382 GB, free: 9.141 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.108, allocations: 4 kB / 1.382 GB, free: 9.137 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/1.108, allocations: 47.92 kB / 1.382 GB, free: 9.09 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.108, allocations: 8.078 kB / 1.382 GB, free: 9.082 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/1.108, allocations: 31.67 kB / 1.383 GB, free: 9.051 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/1.108, allocations: 12 kB / 1.383 GB, free: 9.039 MB / 1.107 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/1.109, allocations: 153.7 kB / 1.383 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/1.109, allocations: 35.56 kB / 1.383 GB, free: 8.844 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/1.109, allocations: 226.3 kB / 1.383 GB, free: 8.617 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.109, allocations: 11.92 kB / 1.383 GB, free: 8.605 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.109, allocations: 0 / 1.383 GB, free: 8.605 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.109, allocations: 4 kB / 1.383 GB, free: 8.602 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/1.11, allocations: 0.7029 MB / 1.384 GB, free: 7.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.111, allocations: 7.984 kB / 1.384 GB, free: 7.812 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/1.111, allocations: 35.92 kB / 1.384 GB, free: 7.777 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.111, allocations: 4 kB / 1.384 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/1.111, allocations: 7.938 kB / 1.384 GB, free: 7.766 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/1.111, allocations: 4 kB / 1.384 GB, free: 7.762 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.111, allocations: 0 / 1.384 GB, free: 7.762 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007311/1.111, allocations: 459.1 kB / 1.384 GB, free: 7.277 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/1.112, allocations: 128.7 kB / 1.384 GB, free: 7.133 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/1.112, allocations: 7.938 kB / 1.384 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/1.112, allocations: 15.98 kB / 1.384 GB, free: 7.109 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/1.112, allocations: 15.92 kB / 1.384 GB, free: 7.094 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/1.112, allocations: 12 kB / 1.384 GB, free: 7.082 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002757/1.112, allocations: 231.1 kB / 1.385 GB, free: 6.855 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.81e-07/1.112, allocations: 0 / 1.385 GB, free: 6.855 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004672/1.113, allocations: 79.91 kB / 1.385 GB, free: 6.777 MB / 1.107 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.001693/1.114, allocations: 1.048 MB / 1.386 GB, free: 5.688 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005712/1.115, allocations: 179.7 kB / 1.386 GB, free: 5.512 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.115, allocations: 4 kB / 1.386 GB, free: 5.508 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/1.115, allocations: 92.45 kB / 1.386 GB, free: 5.418 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/1.116, allocations: 167 kB / 1.386 GB, free: 5.258 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/1.121, allocations: 3.01 MB / 1.389 GB, free: 2.102 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/1.122, allocations: 0.7834 MB / 1.39 GB, free: 1.293 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002795/1.122, allocations: 58.94 kB / 1.39 GB, free: 1.23 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/1.122, allocations: 91.41 kB / 1.39 GB, free: 1.141 MB / 1.107 GB Notification: Performance of SimCode: time 1.563e-06/1.122, allocations: 0 / 1.39 GB, free: 1.141 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/1.156, allocations: 9.157 MB / 1.399 GB, free: 8.176 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/9.472, allocations: 6.375 kB / 1.399 GB, free: 8.172 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches