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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001858/0.001858, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001965/0.001966, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.121/2.121, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.978/4.978, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002355, allocations: 64.72 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6098, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.3004/0.9102, allocations: 165.2 MB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00511/0.9154, allocations: 1.552 MB / 1.215 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007269/0.9162, allocations: 11.88 kB / 1.215 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008325/0.9171, allocations: 131.2 kB / 1.215 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.9203, allocations: 0.6653 MB / 1.216 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.9235, allocations: 0.5449 MB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.9254, allocations: 0.7254 MB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007239/0.9262, allocations: 221.1 kB / 1.217 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.9273, allocations: 354.7 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.9278, allocations: 243 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.9279, allocations: 31.94 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.9307, allocations: 0.8961 MB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.931, allocations: 107.7 kB / 1.219 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.9313, allocations: 167.2 kB / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.9333, allocations: 0.7906 MB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.9333, allocations: 0 / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9333, allocations: 0 / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.9334, allocations: 0 / 1.22 GB, free: 12.43 MB / 0.9825 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.001615/0.935, allocations: 0.6584 MB / 1.221 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 8.171e-05/0.9351, allocations: 12.62 kB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.9352, allocations: 54.55 kB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.9373, allocations: 159.3 kB / 1.221 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007399/0.938, allocations: 314.6 kB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.9381, allocations: 20.5 kB / 1.221 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.719e-05/0.9382, allocations: 24 kB / 1.221 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.939, allocations: 281.8 kB / 1.221 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.9391, allocations: 4 kB / 1.221 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.9391, allocations: 8 kB / 1.221 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.9392, allocations: 15.92 kB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.9399, allocations: 200.9 kB / 1.222 GB, free: 10.58 MB / 0.9825 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.002366/0.9422, allocations: 1.223 MB / 1.223 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.9427, allocations: 154.4 kB / 1.223 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.943, allocations: 96.8 kB / 1.223 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.9441, allocations: 299.2 kB / 1.223 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.9441, allocations: 30.56 kB / 1.223 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 3.025e-06/0.9441, allocations: 0 / 1.223 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.001328/0.9455, allocations: 295.4 kB / 1.224 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.9456, allocations: 59.34 kB / 1.224 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.9461, allocations: 328.5 kB / 1.224 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.9462, allocations: 29.7 kB / 1.224 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.9464, allocations: 184.1 kB / 1.224 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.36e-05/0.9465, allocations: 63.19 kB / 1.224 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.9466, allocations: 45.61 kB / 1.224 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.9468, allocations: 346.8 kB / 1.225 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.947, allocations: 67.95 kB / 1.225 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.9474, allocations: 121.1 kB / 1.225 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.9479, allocations: 203.4 kB / 1.225 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.948, allocations: 0 / 1.225 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000761/0.9487, allocations: 261 kB / 1.225 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.9488, allocations: 11.94 kB / 1.225 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.9488, allocations: 0 / 1.225 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.9488, allocations: 4 kB / 1.225 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.9492, allocations: 39.92 kB / 1.225 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.9492, allocations: 4 kB / 1.225 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.9497, allocations: 35.91 kB / 1.225 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.9498, allocations: 15.94 kB / 1.225 GB, free: 6.441 MB / 0.9825 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.0002977/0.9501, allocations: 151.3 kB / 1.226 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.9502, allocations: 27.62 kB / 1.226 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.9511, allocations: 236.5 kB / 1.226 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.9511, allocations: 4 kB / 1.226 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.9511, allocations: 4 kB / 1.226 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.9512, allocations: 3.984 kB / 1.226 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.9533, allocations: 0.7029 MB / 1.227 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.9533, allocations: 3.938 kB / 1.227 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.9536, allocations: 35.98 kB / 1.227 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.9537, allocations: 0 / 1.227 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.9537, allocations: 11.94 kB / 1.227 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/0.9537, allocations: 4 kB / 1.227 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.9538, allocations: 11.92 kB / 1.227 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.9551, allocations: 447.2 kB / 1.227 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.9553, allocations: 124.6 kB / 1.227 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.9554, allocations: 11.94 kB / 1.227 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.9558, allocations: 11.98 kB / 1.227 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.9559, allocations: 15.98 kB / 1.227 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.9559, allocations: 8 kB / 1.227 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004181/0.9564, allocations: 235.1 kB / 1.227 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9564, allocations: 0 / 1.227 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008213/0.9572, allocations: 83.92 kB / 1.227 GB, free: 4.191 MB / 0.9825 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.002101/0.9593, allocations: 1.057 MB / 1.228 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007783/0.9601, allocations: 187.7 kB / 1.229 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.9601, allocations: 0 / 1.229 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.9605, allocations: 100.4 kB / 1.229 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.9621, allocations: 164.4 kB / 1.229 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006608/0.9687, allocations: 3.109 MB / 1.232 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.9694, allocations: 0.7872 MB / 1.233 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005586/0.97, allocations: 58.92 kB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.9703, allocations: 95.41 kB / 1.233 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of SimCode: time 1.743e-06/0.9703, allocations: 0 / 1.233 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5238/1.494, allocations: 8.771 MB / 1.241 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004997/1.495, allocations: 232.8 kB / 1.242 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/18.09, allocations: 0 / 1.242 GB, free: 5.621 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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