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.00519/0.00519, allocations: 109 kB / 15.74 MB, free: 5.984 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.001156/0.001156, allocations: 197.8 kB / 16.68 MB, free: 5.906 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.09 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3717, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 1.106/1.477, allocations: 167.4 MB / 1.371 GB, free: 1.039 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003669/1.481, allocations: 1.57 MB / 1.372 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006816/1.482, allocations: 11.5 kB / 1.372 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007958/1.483, allocations: 152.8 kB / 1.372 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002879/1.486, allocations: 0.6997 MB / 1.373 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/1.488, allocations: 0.603 MB / 1.374 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001376/1.489, allocations: 0.7121 MB / 1.374 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005803/1.49, allocations: 240.4 kB / 1.375 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/1.491, allocations: 351.6 kB / 1.375 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/1.492, allocations: 223.8 kB / 1.375 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.011e-05/1.492, allocations: 23.72 kB / 1.375 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/1.494, allocations: 0.8708 MB / 1.376 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/1.494, allocations: 114.8 kB / 1.376 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/1.494, allocations: 173.2 kB / 1.376 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/1.496, allocations: 0.731 MB / 1.377 GB, free: 13.55 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.496, allocations: 0 / 1.377 GB, free: 13.55 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.734e-06/1.496, allocations: 1.406 kB / 1.377 GB, free: 13.55 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.539e-05/1.496, allocations: 0 / 1.377 GB, free: 13.55 MB / 1.076 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.001431/1.498, allocations: 0.6644 MB / 1.378 GB, free: 12.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.498, allocations: 10.38 kB / 1.378 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.794e-05/1.498, allocations: 59.77 kB / 1.378 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/1.499, allocations: 157 kB / 1.378 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/1.5, allocations: 323.3 kB / 1.378 GB, free: 12.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/1.5, allocations: 22.47 kB / 1.378 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/1.5, allocations: 27.19 kB / 1.378 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/1.5, allocations: 281.3 kB / 1.379 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.5, allocations: 0 / 1.379 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/1.5, allocations: 6.344 kB / 1.379 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/1.501, allocations: 9.75 kB / 1.379 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/1.501, allocations: 202 kB / 1.379 GB, free: 12.21 MB / 1.076 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.001972/1.503, allocations: 1.236 MB / 1.38 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/1.503, allocations: 154.1 kB / 1.38 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/1.504, allocations: 94.73 kB / 1.38 GB, free: 10.94 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006822/1.504, allocations: 302.3 kB / 1.38 GB, free: 10.63 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/1.504, allocations: 35.84 kB / 1.381 GB, free: 10.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/1.504, allocations: 1.344 kB / 1.381 GB, free: 10.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=17): time 0.001042/1.505, allocations: 292.5 kB / 1.381 GB, free: 10.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/1.505, allocations: 57.48 kB / 1.381 GB, free: 10.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/1.506, allocations: 324.7 kB / 1.381 GB, free: 10.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/1.506, allocations: 27.2 kB / 1.381 GB, free: 10.13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/1.506, allocations: 180.1 kB / 1.381 GB, free: 9.969 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/1.506, allocations: 58.42 kB / 1.381 GB, free: 9.918 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/1.506, allocations: 51.48 kB / 1.381 GB, free: 9.879 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.506, allocations: 338.6 kB / 1.382 GB, free: 9.547 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/1.507, allocations: 72.22 kB / 1.382 GB, free: 9.512 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/1.507, allocations: 124.9 kB / 1.382 GB, free: 9.422 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/1.507, allocations: 195.2 kB / 1.382 GB, free: 9.297 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.507, allocations: 7.875 kB / 1.382 GB, free: 9.289 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005584/1.508, allocations: 258.5 kB / 1.382 GB, free: 9.148 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.508, allocations: 6.844 kB / 1.382 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.508, allocations: 2.25 kB / 1.382 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.508, allocations: 2.344 kB / 1.382 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/1.508, allocations: 46.86 kB / 1.382 GB, free: 9.137 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/1.508, allocations: 10.05 kB / 1.382 GB, free: 9.129 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/1.508, allocations: 26.44 kB / 1.383 GB, free: 9.113 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/1.508, allocations: 15.94 kB / 1.383 GB, free: 9.105 MB / 1.076 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.0001621/1.509, allocations: 157.4 kB / 1.383 GB, free: 8.961 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/1.509, allocations: 33.86 kB / 1.383 GB, free: 8.941 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/1.509, allocations: 226.6 kB / 1.383 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.509, allocations: 2.406 kB / 1.383 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.509, allocations: 0 / 1.383 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/1.509, allocations: 3.984 kB / 1.383 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/1.511, allocations: 0.7099 MB / 1.384 GB, free: 8.207 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/1.511, allocations: 6.125 kB / 1.384 GB, free: 8.203 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/1.511, allocations: 38.86 kB / 1.384 GB, free: 8.191 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/1.511, allocations: 2.375 kB / 1.384 GB, free: 8.191 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.511, allocations: 3.375 kB / 1.384 GB, free: 8.191 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/1.511, allocations: 7.344 kB / 1.384 GB, free: 8.188 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.511, allocations: 2.312 kB / 1.384 GB, free: 8.188 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007527/1.512, allocations: 450.5 kB / 1.384 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/1.512, allocations: 123.6 kB / 1.384 GB, free: 7.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/1.512, allocations: 7.75 kB / 1.384 GB, free: 7.727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/1.512, allocations: 16.98 kB / 1.384 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/1.512, allocations: 15.61 kB / 1.384 GB, free: 7.707 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/1.512, allocations: 9.375 kB / 1.384 GB, free: 7.703 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002549/1.512, allocations: 230.3 kB / 1.385 GB, free: 7.555 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.512, allocations: 0 / 1.385 GB, free: 7.555 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004929/1.513, allocations: 89.16 kB / 1.385 GB, free: 7.535 MB / 1.076 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.0014/1.514, allocations: 1.037 MB / 1.386 GB, free: 6.645 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005169/1.515, allocations: 193.5 kB / 1.386 GB, free: 6.555 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.515, allocations: 1.281 kB / 1.386 GB, free: 6.555 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/1.515, allocations: 86.64 kB / 1.386 GB, free: 6.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/1.516, allocations: 173 kB / 1.386 GB, free: 6.438 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/1.521, allocations: 2.993 MB / 1.389 GB, free: 4.211 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/1.521, allocations: 0.79 MB / 1.39 GB, free: 3.461 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002977/1.522, allocations: 58.56 kB / 1.39 GB, free: 3.438 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/1.522, allocations: 89.12 kB / 1.39 GB, free: 3.367 MB / 1.076 GB Notification: Performance of SimCode: time 7.12e-07/1.522, allocations: 0 / 1.39 GB, free: 3.367 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/1.556, allocations: 9.168 MB / 1.399 GB, free: 14.79 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/9.766, allocations: 7.766 kB / 1.399 GB, free: 14.79 MB / 1.092 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