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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007686/0.007686, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001826/0.001826, allocations: 206.3 kB / 16.68 MB, free: 5.973 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.716/2.716, allocations: 469.4 MB / 0.7421 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 67.89 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3323, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8425/1.175, allocations: 167.4 MB / 1.383 GB, free: 3.059 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002806/1.178, allocations: 1.558 MB / 1.385 GB, free: 1.812 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/1.178, allocations: 15.44 kB / 1.385 GB, free: 1.805 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005617/1.179, allocations: 151.5 kB / 1.385 GB, free: 1.672 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/1.181, allocations: 0.7383 MB / 1.386 GB, free: 1.117 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/1.182, allocations: 0.6057 MB / 1.386 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001078/1.184, allocations: 0.7188 MB / 1.387 GB, free: 268 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/1.184, allocations: 229.2 kB / 1.387 GB, free: 128 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008055/1.185, allocations: 367.4 kB / 1.388 GB, free: 15.91 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004242/1.185, allocations: 225.3 kB / 1.388 GB, free: 15.78 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/1.185, allocations: 23.62 kB / 1.388 GB, free: 15.78 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/1.187, allocations: 0.8686 MB / 1.389 GB, free: 15.29 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001654/1.187, allocations: 118.4 kB / 1.389 GB, free: 15.21 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002977/1.188, allocations: 172.3 kB / 1.389 GB, free: 15.1 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/1.189, allocations: 0.7301 MB / 1.39 GB, free: 14.67 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.189, allocations: 1.281 kB / 1.39 GB, free: 14.67 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.527e-06/1.189, allocations: 0 / 1.39 GB, free: 14.67 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.474e-05/1.189, allocations: 3.938 kB / 1.39 GB, free: 14.66 MB / 1.092 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.001277/1.19, allocations: 0.6765 MB / 1.39 GB, free: 14.06 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.19, allocations: 8.656 kB / 1.39 GB, free: 14.06 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.75e-05/1.191, allocations: 58.14 kB / 1.39 GB, free: 14 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.192, allocations: 156.5 kB / 1.39 GB, free: 13.93 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/1.192, allocations: 328.8 kB / 1.391 GB, free: 13.62 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/1.192, allocations: 23.34 kB / 1.391 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/1.193, allocations: 22.84 kB / 1.391 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/1.193, allocations: 287.9 kB / 1.391 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.193, allocations: 5.156 kB / 1.391 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/1.193, allocations: 6.719 kB / 1.391 GB, free: 13.4 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.193, allocations: 5.031 kB / 1.391 GB, free: 13.4 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/1.194, allocations: 209.4 kB / 1.391 GB, free: 13.3 MB / 1.092 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.001513/1.195, allocations: 1.223 MB / 1.393 GB, free: 12.18 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/1.195, allocations: 153.6 kB / 1.393 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/1.196, allocations: 95.95 kB / 1.393 GB, free: 12.04 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/1.196, allocations: 306.6 kB / 1.393 GB, free: 11.73 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/1.196, allocations: 35.84 kB / 1.393 GB, free: 11.68 MB / 1.092 GB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/1.196, allocations: 0 / 1.393 GB, free: 11.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=17): time 0.0007946/1.197, allocations: 294.7 kB / 1.393 GB, free: 11.54 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/1.197, allocations: 54.06 kB / 1.393 GB, free: 11.47 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/1.197, allocations: 327.7 kB / 1.394 GB, free: 11.26 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/1.197, allocations: 27.92 kB / 1.394 GB, free: 11.23 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/1.198, allocations: 184.5 kB / 1.394 GB, free: 11.06 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/1.198, allocations: 62.53 kB / 1.394 GB, free: 11.01 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/1.198, allocations: 47.61 kB / 1.394 GB, free: 10.97 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.198, allocations: 342.3 kB / 1.394 GB, free: 10.64 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/1.198, allocations: 69.36 kB / 1.394 GB, free: 10.61 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/1.198, allocations: 128 kB / 1.395 GB, free: 10.51 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/1.199, allocations: 196.2 kB / 1.395 GB, free: 10.38 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.199, allocations: 5 kB / 1.395 GB, free: 10.38 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005085/1.199, allocations: 249.1 kB / 1.395 GB, free: 10.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.199, allocations: 5.562 kB / 1.395 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.199, allocations: 5.625 kB / 1.395 GB, free: 10.24 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.199, allocations: 7.266 kB / 1.395 GB, free: 10.24 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/1.199, allocations: 50.94 kB / 1.395 GB, free: 10.22 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.199, allocations: 5.406 kB / 1.395 GB, free: 10.22 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/1.2, allocations: 35.33 kB / 1.395 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/1.2, allocations: 7.594 kB / 1.395 GB, free: 10.2 MB / 1.092 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.0001509/1.2, allocations: 156.2 kB / 1.395 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/1.2, allocations: 35.2 kB / 1.395 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/1.2, allocations: 229.3 kB / 1.395 GB, free: 9.895 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.2, allocations: 6.219 kB / 1.395 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.2, allocations: 1.125 kB / 1.395 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.201, allocations: 3.938 kB / 1.395 GB, free: 9.887 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/1.202, allocations: 0.7074 MB / 1.396 GB, free: 9.293 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/1.202, allocations: 1.281 kB / 1.396 GB, free: 9.293 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/1.202, allocations: 38.55 kB / 1.396 GB, free: 9.281 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/1.202, allocations: 6.891 kB / 1.396 GB, free: 9.277 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.202, allocations: 3.188 kB / 1.396 GB, free: 9.277 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/1.202, allocations: 7.312 kB / 1.396 GB, free: 9.273 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.202, allocations: 2.312 kB / 1.396 GB, free: 9.273 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/1.203, allocations: 455.8 kB / 1.397 GB, free: 8.938 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/1.203, allocations: 126.8 kB / 1.397 GB, free: 8.812 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/1.203, allocations: 6.703 kB / 1.397 GB, free: 8.809 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/1.203, allocations: 14.19 kB / 1.397 GB, free: 8.801 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/1.203, allocations: 14.8 kB / 1.397 GB, free: 8.793 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/1.203, allocations: 9.875 kB / 1.397 GB, free: 8.789 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002733/1.204, allocations: 234.3 kB / 1.397 GB, free: 8.637 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.1e-07/1.204, allocations: 0 / 1.397 GB, free: 8.637 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004671/1.204, allocations: 88.56 kB / 1.397 GB, free: 8.617 MB / 1.092 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.001282/1.205, allocations: 1.037 MB / 1.398 GB, free: 7.727 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004391/1.206, allocations: 181.6 kB / 1.398 GB, free: 7.648 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.206, allocations: 1.25 kB / 1.398 GB, free: 7.648 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/1.206, allocations: 99.5 kB / 1.398 GB, free: 7.602 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/1.207, allocations: 168.5 kB / 1.399 GB, free: 7.523 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/1.211, allocations: 3.009 MB / 1.402 GB, free: 5.277 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/1.211, allocations: 0.7902 MB / 1.402 GB, free: 4.523 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002334/1.212, allocations: 69.02 kB / 1.402 GB, free: 4.496 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/1.212, allocations: 94 kB / 1.402 GB, free: 4.422 MB / 1.092 GB Notification: Performance of SimCode: time 4e-07/1.212, allocations: 3.938 kB / 1.402 GB, free: 4.418 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/1.242, allocations: 9.022 MB / 1.411 GB, free: 15.95 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/9.221, allocations: 2.781 kB / 1.411 GB, free: 15.95 MB / 1.107 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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