Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_9_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.005741/0.005741, allocations: 101.8 kB / 15.73 MB, free: 6 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.001217/0.001217, allocations: 194.1 kB / 16.67 MB, free: 5.926 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.108/2.108, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9315/0.9329, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2192/1.152, allocations: 167.4 MB / 1.251 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00343/1.156, allocations: 1.551 MB / 1.252 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/1.156, allocations: 11.94 kB / 1.252 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005313/1.157, allocations: 154.8 kB / 1.253 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001764/1.158, allocations: 0.7039 MB / 1.253 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/1.16, allocations: 0.6068 MB / 1.254 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008782/1.161, allocations: 0.7177 MB / 1.255 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/1.162, allocations: 233 kB / 1.255 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008072/1.162, allocations: 350.6 kB / 1.255 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/1.163, allocations: 227 kB / 1.255 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.814e-05/1.163, allocations: 24 kB / 1.255 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/1.164, allocations: 0.8728 MB / 1.256 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/1.165, allocations: 107.7 kB / 1.256 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002461/1.165, allocations: 167.2 kB / 1.257 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/1.166, allocations: 0.7362 MB / 1.257 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/1.166, allocations: 8 kB / 1.257 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.166, allocations: 0 / 1.257 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.919e-05/1.166, allocations: 0 / 1.257 GB, free: 15.88 MB / 0.9981 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.001133/1.168, allocations: 0.6583 MB / 1.258 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.168, allocations: 12.03 kB / 1.258 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/1.168, allocations: 58.55 kB / 1.258 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/1.169, allocations: 159.3 kB / 1.258 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/1.169, allocations: 322.6 kB / 1.258 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/1.169, allocations: 24.5 kB / 1.258 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/1.169, allocations: 24 kB / 1.258 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/1.17, allocations: 281.8 kB / 1.259 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.17, allocations: 4 kB / 1.259 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/1.17, allocations: 12 kB / 1.259 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/1.17, allocations: 4 kB / 1.259 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/1.17, allocations: 200.9 kB / 1.259 GB, free: 14.02 MB / 0.9981 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.001469/1.172, allocations: 1.227 MB / 1.26 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/1.172, allocations: 142.5 kB / 1.26 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/1.172, allocations: 107.3 kB / 1.26 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/1.173, allocations: 295.2 kB / 1.261 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/1.173, allocations: 46.48 kB / 1.261 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/1.173, allocations: 0 / 1.261 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0007938/1.174, allocations: 289.4 kB / 1.261 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/1.174, allocations: 59.34 kB / 1.261 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/1.174, allocations: 316.5 kB / 1.261 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/1.174, allocations: 33.7 kB / 1.261 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/1.174, allocations: 188.1 kB / 1.262 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/1.174, allocations: 63.09 kB / 1.262 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/1.175, allocations: 41.7 kB / 1.262 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.175, allocations: 342.8 kB / 1.262 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/1.175, allocations: 67.95 kB / 1.262 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/1.175, allocations: 130.5 kB / 1.262 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/1.176, allocations: 199.8 kB / 1.262 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.176, allocations: 4 kB / 1.262 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004908/1.176, allocations: 253 kB / 1.263 GB, free: 10 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.176, allocations: 4 kB / 1.263 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.176, allocations: 7.938 kB / 1.263 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.176, allocations: 4 kB / 1.263 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/1.176, allocations: 43.97 kB / 1.263 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.176, allocations: 4 kB / 1.263 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/1.177, allocations: 35.77 kB / 1.263 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/1.177, allocations: 8 kB / 1.263 GB, free: 9.895 MB / 0.9981 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.0001511/1.177, allocations: 162.2 kB / 1.263 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/1.177, allocations: 23.72 kB / 1.263 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/1.177, allocations: 230.8 kB / 1.263 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/1.177, allocations: 7.984 kB / 1.263 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.177, allocations: 0 / 1.263 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/1.177, allocations: 4 kB / 1.263 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/1.178, allocations: 0.7107 MB / 1.264 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.178, allocations: 0 / 1.264 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/1.179, allocations: 32.12 kB / 1.264 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/1.179, allocations: 0 / 1.264 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/1.179, allocations: 15.91 kB / 1.264 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.179, allocations: 4 kB / 1.264 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.179, allocations: 7.938 kB / 1.264 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/1.179, allocations: 461.1 kB / 1.264 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/1.179, allocations: 120.7 kB / 1.264 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/1.18, allocations: 15.92 kB / 1.264 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/1.18, allocations: 8 kB / 1.264 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/1.18, allocations: 11.98 kB / 1.264 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/1.18, allocations: 8 kB / 1.264 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002211/1.18, allocations: 231 kB / 1.265 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.18, allocations: 4.062 kB / 1.265 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003919/1.18, allocations: 79.98 kB / 1.265 GB, free: 7.645 MB / 0.9981 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.001233/1.182, allocations: 1.05 MB / 1.266 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004464/1.182, allocations: 179.8 kB / 1.266 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.182, allocations: 0 / 1.266 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/1.182, allocations: 95.81 kB / 1.266 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008863/1.183, allocations: 166.9 kB / 1.266 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/1.187, allocations: 2.995 MB / 1.269 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/1.187, allocations: 0.7834 MB / 1.27 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002263/1.188, allocations: 66.92 kB / 1.27 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/1.188, allocations: 95.41 kB / 1.27 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of SimCode: time 6.42e-07/1.188, allocations: 4 kB / 1.27 GB, free: 2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/1.22, allocations: 9.145 MB / 1.279 GB, free: 9.027 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/9.096, allocations: 2.188 kB / 1.279 GB, free: 9.027 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches