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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001549/0.001549, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 3.06/3.06, allocations: 437 MB / 0.71 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 59.91 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7949, allocations: 151.6 MB / 1.017 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2011/0.996, allocations: 165.2 MB / 1.178 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003594/0.9997, allocations: 1.572 MB / 1.18 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/1, allocations: 7.938 kB / 1.18 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005224/1.001, allocations: 123.2 kB / 1.18 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002336/1.003, allocations: 0.673 MB / 1.18 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/1.005, allocations: 0.549 MB / 1.181 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001611/1.007, allocations: 0.9828 MB / 1.182 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/1.007, allocations: 213 kB / 1.182 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008783/1.008, allocations: 310.7 kB / 1.182 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/1.009, allocations: 239 kB / 1.183 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/1.009, allocations: 20 kB / 1.183 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/1.011, allocations: 1.013 MB / 1.184 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/1.011, allocations: 103.7 kB / 1.184 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/1.011, allocations: 159.2 kB / 1.184 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/1.013, allocations: 0.779 MB / 1.185 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.013, allocations: 0 / 1.185 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.022e-06/1.013, allocations: 0 / 1.185 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.691e-06/1.013, allocations: 0 / 1.185 GB, free: 6.438 MB / 0.9356 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.001141/1.014, allocations: 0.6662 MB / 1.185 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.014, allocations: 8.031 kB / 1.185 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.104e-05/1.014, allocations: 62.53 kB / 1.185 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/1.015, allocations: 151.4 kB / 1.185 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/1.016, allocations: 314.6 kB / 1.186 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/1.016, allocations: 24.5 kB / 1.186 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/1.016, allocations: 24 kB / 1.186 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/1.016, allocations: 281.8 kB / 1.186 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/1.016, allocations: 3.984 kB / 1.186 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/1.016, allocations: 8 kB / 1.186 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.016, allocations: 4 kB / 1.186 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/1.017, allocations: 200.9 kB / 1.186 GB, free: 4.594 MB / 0.9356 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.00158/1.019, allocations: 1.23 MB / 1.187 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/1.019, allocations: 147.8 kB / 1.188 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/1.019, allocations: 104.7 kB / 1.188 GB, free: 3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00073/1.02, allocations: 299.2 kB / 1.188 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.02, allocations: 34.56 kB / 1.188 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/1.02, allocations: 4 kB / 1.188 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.00086/1.021, allocations: 291.7 kB / 1.188 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/1.021, allocations: 59.28 kB / 1.188 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/1.021, allocations: 324.5 kB / 1.189 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/1.021, allocations: 29.7 kB / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/1.021, allocations: 192.1 kB / 1.189 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/1.021, allocations: 55.2 kB / 1.189 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-05/1.021, allocations: 45.61 kB / 1.189 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.022, allocations: 338.8 kB / 1.189 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/1.022, allocations: 67.95 kB / 1.189 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/1.022, allocations: 129.1 kB / 1.189 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/1.022, allocations: 194.5 kB / 1.19 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.022, allocations: 0 / 1.19 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000494/1.023, allocations: 261.1 kB / 1.19 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.023, allocations: 4 kB / 1.19 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.023, allocations: 4 kB / 1.19 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/1.023, allocations: 0 / 1.19 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/1.023, allocations: 43.98 kB / 1.19 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/1.023, allocations: 4 kB / 1.19 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/1.024, allocations: 51.69 kB / 1.19 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/1.024, allocations: 8 kB / 1.19 GB, free: 464 kB / 0.9356 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.0001554/1.024, allocations: 149.8 kB / 1.19 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/1.024, allocations: 31.62 kB / 1.19 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005343/1.024, allocations: 232.6 kB / 1.19 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.024, allocations: 4 kB / 1.19 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.024, allocations: 0 / 1.19 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.024, allocations: 3.984 kB / 1.19 GB, free: 24 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/1.026, allocations: 0.7106 MB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.026, allocations: 4 kB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/1.026, allocations: 31.98 kB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.026, allocations: 4 kB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/1.026, allocations: 7.938 kB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/1.026, allocations: 11.92 kB / 1.191 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.026, allocations: 3.938 kB / 1.191 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/1.027, allocations: 450.5 kB / 1.192 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/1.027, allocations: 124.7 kB / 1.192 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/1.027, allocations: 8.031 kB / 1.192 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/1.027, allocations: 27.86 kB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/1.027, allocations: 12.05 kB / 1.192 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/1.027, allocations: 15.98 kB / 1.192 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002339/1.027, allocations: 231 kB / 1.192 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.027, allocations: 0 / 1.192 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004216/1.028, allocations: 76 kB / 1.192 GB, free: 14.2 MB / 0.9512 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.001344/1.029, allocations: 1.044 MB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004709/1.03, allocations: 177.6 kB / 1.193 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.03, allocations: 0 / 1.193 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/1.03, allocations: 100.2 kB / 1.193 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/1.031, allocations: 159.5 kB / 1.194 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/1.035, allocations: 3.093 MB / 1.197 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/1.036, allocations: 0.7913 MB / 1.197 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003915/1.036, allocations: 66.92 kB / 1.197 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/1.037, allocations: 87.41 kB / 1.197 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of SimCode: time 1.362e-06/1.037, allocations: 4 kB / 1.197 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/1.065, allocations: 8.531 MB / 1.206 GB, free: 132 kB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/1.065, allocations: 235.4 kB / 1.206 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/3.122, allocations: 3.938 kB / 1.206 GB, free: 15.87 MB / 0.9669 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