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.008914/0.008914, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.002112/0.002112, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.634/2.634, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.88 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3281, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 1.037/1.365, allocations: 167.4 MB / 1.33 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00387/1.369, allocations: 1.56 MB / 1.331 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009904/1.37, allocations: 11.19 kB / 1.331 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009037/1.371, allocations: 151 kB / 1.331 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00326/1.374, allocations: 0.7423 MB / 1.332 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/1.377, allocations: 0.6016 MB / 1.333 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002181/1.379, allocations: 0.7191 MB / 1.333 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008085/1.38, allocations: 241.5 kB / 1.334 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/1.381, allocations: 361.5 kB / 1.334 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/1.382, allocations: 224.6 kB / 1.334 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/1.382, allocations: 23.59 kB / 1.334 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/1.385, allocations: 0.8732 MB / 1.335 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003304/1.385, allocations: 111.5 kB / 1.335 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005076/1.386, allocations: 170 kB / 1.335 GB, free: 408 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002577/1.388, allocations: 0.7304 MB / 1.336 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.388, allocations: 0 / 1.336 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/1.388, allocations: 0 / 1.336 GB, free: 156 kB / 1.014 GB Notification: Performance of Transformations before backend: time 2.783e-05/1.388, allocations: 0 / 1.336 GB, free: 156 kB / 1.014 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.001925/1.39, allocations: 0.6716 MB / 1.337 GB, free: 15.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/1.39, allocations: 8.781 kB / 1.337 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/1.391, allocations: 57 kB / 1.337 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/1.392, allocations: 152.5 kB / 1.337 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008261/1.393, allocations: 328.3 kB / 1.337 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/1.393, allocations: 18.22 kB / 1.337 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/1.393, allocations: 27.53 kB / 1.337 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/1.394, allocations: 288 kB / 1.337 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/1.394, allocations: 0 / 1.337 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/1.394, allocations: 10.31 kB / 1.338 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/1.394, allocations: 5.75 kB / 1.338 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005236/1.394, allocations: 201.2 kB / 1.338 GB, free: 15.02 MB / 1.029 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.001792/1.396, allocations: 1.227 MB / 1.339 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/1.396, allocations: 156.1 kB / 1.339 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/1.397, allocations: 96.84 kB / 1.339 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/1.397, allocations: 305.3 kB / 1.339 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.397, allocations: 35.88 kB / 1.339 GB, free: 13.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/1.397, allocations: 0 / 1.339 GB, free: 13.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0009211/1.398, allocations: 291 kB / 1.34 GB, free: 13.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.398, allocations: 57.56 kB / 1.34 GB, free: 13.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/1.399, allocations: 321.4 kB / 1.34 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/1.399, allocations: 31.3 kB / 1.34 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/1.399, allocations: 178.9 kB / 1.34 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/1.399, allocations: 65.55 kB / 1.34 GB, free: 13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/1.399, allocations: 47.64 kB / 1.34 GB, free: 12.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.399, allocations: 340.3 kB / 1.341 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/1.399, allocations: 63 kB / 1.341 GB, free: 12.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/1.4, allocations: 134.7 kB / 1.341 GB, free: 12.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/1.4, allocations: 195.8 kB / 1.341 GB, free: 12.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.4, allocations: 5.062 kB / 1.341 GB, free: 12.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005598/1.401, allocations: 256.7 kB / 1.341 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.401, allocations: 8.422 kB / 1.341 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.401, allocations: 1.812 kB / 1.341 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.401, allocations: 2.391 kB / 1.341 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/1.401, allocations: 48.14 kB / 1.341 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.401, allocations: 2.75 kB / 1.341 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/1.401, allocations: 33.06 kB / 1.341 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/1.401, allocations: 18.31 kB / 1.341 GB, free: 12.29 MB / 1.029 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.0001692/1.402, allocations: 151.1 kB / 1.342 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/1.402, allocations: 33.11 kB / 1.342 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005393/1.402, allocations: 237.1 kB / 1.342 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.402, allocations: 2.688 kB / 1.342 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.402, allocations: 1.125 kB / 1.342 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.402, allocations: 2.016 kB / 1.342 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/1.403, allocations: 0.7018 MB / 1.343 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/1.403, allocations: 2.5 kB / 1.343 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/1.404, allocations: 34.91 kB / 1.343 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.404, allocations: 2.719 kB / 1.343 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/1.404, allocations: 9.688 kB / 1.343 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.994e-06/1.404, allocations: 7.375 kB / 1.343 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.404, allocations: 6.906 kB / 1.343 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/1.404, allocations: 444.3 kB / 1.343 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/1.405, allocations: 121.8 kB / 1.343 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/1.405, allocations: 10.11 kB / 1.343 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/1.405, allocations: 15.91 kB / 1.343 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/1.405, allocations: 20.12 kB / 1.343 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/1.405, allocations: 8.719 kB / 1.343 GB, free: 11.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002632/1.405, allocations: 234.1 kB / 1.343 GB, free: 10.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.405, allocations: 0 / 1.343 GB, free: 10.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004867/1.406, allocations: 86.61 kB / 1.344 GB, free: 10.96 MB / 1.029 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.001378/1.407, allocations: 1.051 MB / 1.345 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005129/1.408, allocations: 185.9 kB / 1.345 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.408, allocations: 1.062 kB / 1.345 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/1.408, allocations: 93.62 kB / 1.345 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/1.409, allocations: 173 kB / 1.345 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/1.413, allocations: 2.995 MB / 1.348 GB, free: 7.992 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/1.414, allocations: 0.7801 MB / 1.349 GB, free: 7.289 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003027/1.414, allocations: 66.92 kB / 1.349 GB, free: 7.277 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/1.414, allocations: 93.83 kB / 1.349 GB, free: 7.211 MB / 1.029 GB Notification: Performance of SimCode: time 2.474e-06/1.414, allocations: 0 / 1.349 GB, free: 7.211 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/1.449, allocations: 9.03 MB / 1.358 GB, free: 4.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/9.581, allocations: 12.34 kB / 1.358 GB, free: 4.613 MB / 1.029 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