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.001383/0.001383, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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.06/2.06, allocations: 390.3 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4764, allocations: 140.4 MB / 0.9497 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1516/0.6281, allocations: 167.4 MB / 1.113 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.6303, allocations: 1.551 MB / 1.115 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.6305, allocations: 23.81 kB / 1.115 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.6309, allocations: 146.9 kB / 1.115 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.6321, allocations: 0.7078 MB / 1.116 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.6332, allocations: 0.5951 MB / 1.116 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006052/0.6338, allocations: 0.7215 MB / 1.117 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.6341, allocations: 237 kB / 1.117 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.6346, allocations: 346.6 kB / 1.117 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.6348, allocations: 227.1 kB / 1.118 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.6349, allocations: 24 kB / 1.118 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.636, allocations: 0.865 MB / 1.118 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.6361, allocations: 107.6 kB / 1.119 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.6363, allocations: 167.2 kB / 1.119 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008058/0.6371, allocations: 0.7246 MB / 1.119 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6371, allocations: 0 / 1.119 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6371, allocations: 0 / 1.119 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.6371, allocations: 0 / 1.119 GB, free: 3.582 MB / 0.8731 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.0007944/0.6379, allocations: 0.6676 MB / 1.12 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.638, allocations: 12.03 kB / 1.12 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.638, allocations: 58.55 kB / 1.12 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.6391, allocations: 151.5 kB / 1.12 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.6394, allocations: 314.6 kB / 1.121 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.6394, allocations: 20.5 kB / 1.121 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.6395, allocations: 31.94 kB / 1.121 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.6399, allocations: 277.9 kB / 1.121 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.6399, allocations: 4 kB / 1.121 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.64, allocations: 8 kB / 1.121 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.64, allocations: 8 kB / 1.121 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003917/0.6404, allocations: 208.7 kB / 1.121 GB, free: 1.727 MB / 0.8731 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.001204/0.6416, allocations: 1.23 MB / 1.122 GB, free: 400 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.6419, allocations: 146.5 kB / 1.123 GB, free: 244 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.642, allocations: 96.8 kB / 1.123 GB, free: 144 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005714/0.6426, allocations: 303.2 kB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.6426, allocations: 38.5 kB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.6426, allocations: 0 / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17): time 0.0007133/0.6434, allocations: 291.6 kB / 1.123 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.6434, allocations: 51.41 kB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.6437, allocations: 328.5 kB / 1.124 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.6437, allocations: 29.7 kB / 1.124 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.6438, allocations: 184.2 kB / 1.124 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.6439, allocations: 63.09 kB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.644, allocations: 41.7 kB / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6441, allocations: 342.8 kB / 1.124 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.6443, allocations: 71.89 kB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.6445, allocations: 136.9 kB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.6448, allocations: 203.4 kB / 1.125 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6448, allocations: 0 / 1.125 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004434/0.6453, allocations: 253 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.6453, allocations: 4 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6453, allocations: 4 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.6453, allocations: 0 / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.6455, allocations: 48.02 kB / 1.125 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.6455, allocations: 8 kB / 1.125 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.6457, allocations: 31.67 kB / 1.125 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.6457, allocations: 8 kB / 1.125 GB, free: 13.6 MB / 0.8887 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.0001261/0.6459, allocations: 157.7 kB / 1.125 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.6459, allocations: 31.62 kB / 1.125 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.6464, allocations: 238.6 kB / 1.125 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6464, allocations: 4 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6464, allocations: 0 / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6464, allocations: 0 / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009409/0.6473, allocations: 0.7106 MB / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6474, allocations: 4 kB / 1.126 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.6475, allocations: 39.92 kB / 1.126 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6475, allocations: 0 / 1.126 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.6476, allocations: 7.938 kB / 1.126 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6476, allocations: 4 kB / 1.126 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6476, allocations: 224 / 1.126 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.6482, allocations: 457 kB / 1.127 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.6483, allocations: 120.7 kB / 1.127 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.6483, allocations: 7.938 kB / 1.127 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.6485, allocations: 15.98 kB / 1.127 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.6486, allocations: 15.92 kB / 1.127 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.6486, allocations: 12.06 kB / 1.127 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001919/0.6488, allocations: 227 kB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.363e-06/0.6488, allocations: 0 / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003342/0.6491, allocations: 91.78 kB / 1.127 GB, free: 11.34 MB / 0.8887 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.001037/0.6502, allocations: 1.054 MB / 1.128 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.6506, allocations: 189.6 kB / 1.128 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6506, allocations: 0 / 1.128 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.6508, allocations: 96.45 kB / 1.128 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/0.6516, allocations: 159.9 kB / 1.128 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.6548, allocations: 3.019 MB / 1.131 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.6551, allocations: 0.7834 MB / 1.132 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.6553, allocations: 62.92 kB / 1.132 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.6554, allocations: 91.41 kB / 1.132 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of SimCode: time 2.9e-07/0.6554, allocations: 0 / 1.132 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.358/2.013, allocations: 8.923 MB / 1.141 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/14.16, allocations: 9.094 kB / 1.141 GB, free: 12.92 MB / 0.9044 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